Skip to content

Commit d2474ee

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

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docker-publish.yml

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ jobs:
77
test:
88
name: Test
99
runs-on: ubuntu-latest
10+
permissions:
11+
contents: read
1012
steps:
1113
# step 1: checkout repository code
1214
- name: Checkout code into workspace directory
@@ -29,6 +31,8 @@ jobs:
2931
e2e:
3032
name: E2E
3133
runs-on: ubuntu-latest
34+
permissions:
35+
contents: read
3236
steps:
3337
# step 1: checkout repository code
3438
- name: Checkout code into workspace directory

0 commit comments

Comments
 (0)