ci: Add GitHub token permissions for workflows (#34298)
ci: add GitHub token permissions
This commit is contained in:
parent
ba7dedcc6f
commit
ff13fa8f0a
1 changed files with 6 additions and 0 deletions
6
.github/workflows/semantic.yml
vendored
6
.github/workflows/semantic.yml
vendored
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue