Skip to content

Commit

Permalink
security: add permissions block to workflows (#178)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Feb 20, 2024
1 parent 1cd74ab commit 98f40a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/addToProject.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
env:
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}

permissions:
contents: read

jobs:
assign_one_project:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
env:
MY_GITHUB_TOKEN: ${{ secrets.APM_TECH_USER_TOKEN }}

permissions:
contents: read

jobs:
triage:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 98f40a3

Please sign in to comment.