Skip to content

Commit

Permalink
ci: Add GitHub token permissions for workflows (#34298)
Browse files Browse the repository at this point in the history
ci: add GitHub token permissions
  • Loading branch information
varunsh-coder committed May 22, 2022
1 parent ba7dedc commit ff13fa8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/semantic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit ff13fa8

Please sign in to comment.