ci: Add GitHub token permissions for workflows (#34298)

ci: add GitHub token permissions
This commit is contained in:
Varun Sharma 2022-05-21 17:35:26 -07:00 committed by GitHub
parent ba7dedcc6f
commit ff13fa8f0a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,8 +7,14 @@ on:
- edited
- synchronize
permissions:
contents: read
jobs:
main:
permissions:
pull-requests: read # for amannn/action-semantic-pull-request to analyze PRs
statuses: write # for amannn/action-semantic-pull-request to mark status of analyzed PR
name: Validate PR Title
runs-on: ubuntu-latest
steps: