Skip to content

Commit

Permalink
Updated permission for all CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
niyajali authored Sep 23, 2024
1 parent c6c37b6 commit 6281454
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ concurrency:
group: build-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: write
pull-requests: write

jobs:
setup:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -84,10 +84,6 @@ jobs:
dependency_guard:
needs: setup
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
steps:
- uses: actions/checkout@v4
with:
Expand Down

0 comments on commit 6281454

Please sign in to comment.