Skip to content

Commit

Permalink
Permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
PartTimeLegend committed Mar 26, 2024
1 parent 4683267 commit 0a69ab3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:

jobs:
triage:
permissions:

Check failure on line 7 in .github/workflows/labeler.yml

View workflow job for this annotation

GitHub Actions / Trunk Check

checkov(CKV2_GHA_1)

[new] Ensure top-level permissions are not set to write-all
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v5
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/size-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ name: size-label
on: pull_request
jobs:
size-label:
permissions:

Check failure on line 5 in .github/workflows/size-label.yml

View workflow job for this annotation

GitHub Actions / Trunk Check

checkov(CKV2_GHA_1)

[new] Ensure top-level permissions are not set to write-all
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: size-label
Expand Down

0 comments on commit 0a69ab3

Please sign in to comment.