Skip to content

Commit 3ea7245

Browse files
authored
Merge pull request #141 from aurelianware/alert-autofix-8
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
2 parents a42ac82 + be5beb4 commit 3ea7245

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
needs: pre-approval-checks
1818
if: github.event_name != 'pull_request'
1919
runs-on: ubuntu-latest
20+
permissions:
21+
contents: read
2022
environment:
2123
name: PROD-approval
2224
url: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}

0 commit comments

Comments
 (0)