Skip to content

Commit eee7525

Browse files
Potential fix for code scanning alert no. 21: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 7d2ba4e commit eee7525

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/shared-ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ jobs:
1818
# Don't lint or check Duvet annotations on already-published code
1919
if: ${{ !inputs.test-published-packages }}
2020
runs-on: ubuntu-latest
21+
permissions:
22+
contents: read
2123
steps:
2224
- name: Checkout code
2325
uses: actions/checkout@v4

0 commit comments

Comments
 (0)