Skip to content

Commit 19e2bf6

Browse files
committed
added the necessary permissions to the security job in your .github/workflows/cicd.yml file.
1 parent 184e77e commit 19e2bf6

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,12 @@ jobs:
9999
security:
100100
name: Security Scan
101101
runs-on: ubuntu-latest
102+
permissions:
103+
# required for all workflows
104+
security-events: write
105+
# only required for workflows in private repositories
106+
actions: read
107+
contents: read
102108
steps:
103109
- name: Checkout code
104110
uses: actions/checkout@v4

0 commit comments

Comments
 (0)