Skip to content

Commit e29c225

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/dockerhub.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ jobs:
99
docker-build-and-publish:
1010
environment:
1111
name: dockerhub
12+
permissions:
13+
contents: read
1214
runs-on: ubuntu-latest
1315
steps:
1416
- name: Docker meta

0 commit comments

Comments
 (0)