fix: persisting a temporary token with fewer privileges #11
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: 'Lint PR' | |
| on: | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| lint-pr: | |
| # This job validates the PR title against the conventional commit format. Needed for semantic-release to generate release notes. | |
| name: Validate PR title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: amannn/action-semantic-pull-request@v5 | |
| with: | |
| types: | | |
| fix | |
| feat | |
| chore | |
| revert | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |