Skip to content

Commit 5839d6d

Browse files
authored
Merge pull request #693 from nginx-proxy/ci/workflow-permissions
ci: add workflows permissions
2 parents fb3e0a9 + 77fef15 commit 5839d6d

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.github/workflows/assets.yml

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

3+
permissions:
4+
contents: write
5+
36
on:
47
push:
58
tags:

.github/workflows/build-publish-dispatch.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 images on demand
22

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

.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 images
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/tests.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
push:
58
branches:

0 commit comments

Comments
 (0)