Fix browser duplicate tracker notification #363
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: Tests | |
| on: pull_request | |
| jobs: | |
| lint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - | |
| name: Lint allowed branch names | |
| uses: lekterable/[email protected] | |
| with: | |
| allowed: | | |
| /^(.+:)?bugfix/.+/i | |
| /^(.+:)?docs?/.+/i | |
| /^(.+:)?feature/.+/i | |
| /^(.+:)?hotfix/.+/i | |
| /^(.+:)?major/.+/i | |
| /^(.+:)?misc/.+/i | |
| /^(.+:)?main$/i | |
| - | |
| name: Block fixup/squash commits | |
| uses: xt0rted/block-autosquash-commits-action@v2 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - | |
| # Run only for release branch | |
| if: ${{ github.base_ref == 'release' }} | |
| name: Check for changelog pattern | |
| uses: gandarez/[email protected] | |
| with: | |
| pr_number: ${{ github.event.number }} | |
| contains: 'Changelog:' | |
| not_contains: '`' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |