Skip to content

ci(workflows): Restrict Permissions #642

ci(workflows): Restrict Permissions

ci(workflows): Restrict Permissions #642

name: conventional_commits
on:
pull_request_target:
types:
- opened
- edited
- synchronize
permissions:
contents: read
jobs:
conventional_commits:
permissions:
pull-requests: read # analyze PRs
statuses: write # update status of analyzed PR
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}