feat: replace plausible analytics with opentelemetry browser instrumentation #17
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: pr-title-lint | |
| # Enforce Conventional Commit PR titles so release-please can parse changes. | |
| on: | |
| pull_request_target: | |
| types: [opened, edited, reopened, synchronize] | |
| branches: [main] | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| if: github.event.pull_request.user.type != 'Bot' | |
| steps: | |
| - id: lint | |
| uses: amannn/action-semantic-pull-request@v5 | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| with: | |
| types: | | |
| feat | |
| fix | |
| docs | |
| style | |
| refactor | |
| perf | |
| test | |
| build | |
| ci | |
| chore | |
| revert | |
| requireScope: false | |
| subjectPattern: ^(?![A-Z]).+$ | |
| subjectPatternError: | | |
| The subject "{subject}" in PR title "{title}" must start with a | |
| lowercase letter (imperative mood, no trailing period). See | |
| CONTRIBUTING.md for examples. | |
| - name: Post failure explainer comment | |
| if: failure() && steps.lint.outcome == 'failure' | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| with: | |
| header: pr-title-lint | |
| message: | | |
| ## PR title must follow Conventional Commits | |
| release-please uses PR titles on `main` to determine version bumps and changelog entries. | |
| ``` | |
| <type>[optional scope][!]: <subject> | |
| ``` | |
| - `type`: `feat`, `fix`, `docs`, `style`, `refactor`, `perf`, `test`, `build`, `ci`, `chore`, `revert` | |
| - `subject`: start lowercase, imperative mood, no trailing period | |
| - breaking change: add `!` (or `BREAKING CHANGE:` in body) | |
| Examples: | |
| - ✅ `feat: add search page` | |
| - ✅ `fix: correct broken nav link` | |
| - ❌ `Add search page` | |
| - ❌ `feat: Add search page` | |
| Edit the PR title in GitHub; this check reruns automatically. | |
| - name: Clear failure explainer on success | |
| if: success() && steps.lint.outcome == 'success' | |
| uses: marocchino/sticky-pull-request-comment@v2 | |
| with: | |
| header: pr-title-lint | |
| delete: true |