Skip to content

Commit f634c2b

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: ci
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:
@@ -9,6 +12,8 @@ on:
912

1013
jobs:
1114
bump-version-and-create-release-tag:
15+
permissions:
16+
contents: write
1217
runs-on: ubuntu-latest
1318
env:
1419
GH_TOKEN: ${{ secrets.PAT_TOKEN }}

0 commit comments

Comments
 (0)