Skip to content

Commit a3c4ff1

Browse files
committed
Permissions
1 parent 5d0cb50 commit a3c4ff1

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/cd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77

88
jobs:
99
release:
10+
permissions:
11+
contents: write
1012
uses: jeffersonlab/java-workflows/.github/workflows/gh-release.yaml@v2
1113
with:
1214
files: build/libs/epics2web.war
1315

1416
docker_publish:
17+
permissions:
18+
contents: read
1519
needs:
1620
- release
1721
uses: jeffersonlab/container-workflows/.github/workflows/docker-publish.yaml@v2

.github/workflows/ci.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
branches: [ main ]
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
build:
1619
uses: jeffersonlab/java-workflows/.github/workflows/unit-ci.yaml@v2

.github/workflows/dd.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
paths:
88
- README.md
99
- .github/workflows/dd.yaml
10+
11+
permissions:
12+
contents: read
13+
1014
jobs:
1115
description:
1216
uses: jeffersonlab/container-workflows/.github/workflows/docker-description.yaml@v2

0 commit comments

Comments
 (0)