Skip to content

Commit 740333c

Browse files
authored
Merge pull request #1206 from nginx-proxy/ci/workflow-permissions
ci: add workflows permissions
2 parents 74d4ff0 + 93e199f commit 740333c

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/build-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Build and publish Docker image
22

3+
permissions:
4+
contents: read
5+
packages: write
6+
37
on:
48
workflow_dispatch:
59
schedule:

.github/workflows/dockerhub-description.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Update Docker Hub Description
22

3+
permissions:
4+
contents: read
5+
36
on:
47
push:
58
branches:

.github/workflows/test.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
push:

0 commit comments

Comments
 (0)