Skip to content

Commit 739bdc7

Browse files
fix for code scanning alert no. 30: 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: Marco Roth <marco.roth@intergga.ch>
1 parent bc63947 commit 739bdc7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
if: github.event.action != 'closed'
1414
env:
1515
GH_TOKEN: ${{ github.token }}
16+
permissions:
17+
contents: read
1618

1719
runs-on: ubicloud-standard-2
1820
timeout-minutes: 10

0 commit comments

Comments
 (0)