Skip to content

Commit e0d65a0

Browse files
Potential fix for code scanning alert no. 8: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: aurelianware <markus@aurelianware.com>
1 parent 1acce5d commit e0d65a0

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)