Skip to content

Commit

Permalink
Update trafficcounter.yml
Browse files Browse the repository at this point in the history
add permissions per DSR guidance
  • Loading branch information
tobystic authored Feb 3, 2024
1 parent 0f69996 commit 4bfefea
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/trafficcounter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
traffic:
# The type of runner that the job will run on
runs-on: ubuntu-latest
permissions:
actions: write
contents: read
deployments: read
packages: none
pull-requests: write
security-events: write

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand All @@ -32,4 +39,4 @@ jobs:
message: "GitHub traffic"
add: "./traffic/*"
ref: "traffic" # commits to branch "traffic"

0 comments on commit 4bfefea

Please sign in to comment.