Skip to content

Commit d70a39c

Browse files
committed
fix workflow permissions
1 parent 64c4730 commit d70a39c

26 files changed

Lines changed: 130 additions & 0 deletions

.github/workflows/arkime-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ on:
2626
jobs:
2727
docker:
2828
uses: ./.github/workflows/docker-build-push-scan.yml
29+
permissions:
30+
actions: write
31+
packages: write
32+
contents: read
33+
security-events: write
2934
with:
3035
service: arkime
3136
dockerfile: ./Dockerfiles/arkime.Dockerfile

.github/workflows/dashboards-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ on:
2020
jobs:
2121
docker:
2222
uses: ./.github/workflows/docker-build-push-scan.yml
23+
permissions:
24+
actions: write
25+
packages: write
26+
contents: read
27+
security-events: write
2328
with:
2429
service: dashboards
2530
dockerfile: ./Dockerfiles/dashboards.Dockerfile

.github/workflows/dashboards-helper-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ on:
2121
jobs:
2222
docker:
2323
uses: ./.github/workflows/docker-build-push-scan.yml
24+
permissions:
25+
actions: write
26+
packages: write
27+
contents: read
28+
security-events: write
2429
with:
2530
service: dashboards-helper
2631
dockerfile: ./Dockerfiles/dashboards-helper.Dockerfile

.github/workflows/dirinit-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ on:
1515
jobs:
1616
docker:
1717
uses: ./.github/workflows/docker-build-push-scan.yml
18+
permissions:
19+
actions: write
20+
packages: write
21+
contents: read
22+
security-events: write
1823
with:
1924
service: dirinit
2025
dockerfile: ./Dockerfiles/dirinit.Dockerfile

.github/workflows/file-upload-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
jobs:
1919
docker:
2020
uses: ./.github/workflows/docker-build-push-scan.yml
21+
permissions:
22+
actions: write
23+
packages: write
24+
contents: read
25+
security-events: write
2126
with:
2227
service: file-upload
2328
dockerfile: ./Dockerfiles/file-upload.Dockerfile

.github/workflows/filebeat-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ on:
2222
jobs:
2323
docker:
2424
uses: ./.github/workflows/docker-build-push-scan.yml
25+
permissions:
26+
actions: write
27+
packages: write
28+
contents: read
29+
security-events: write
2530
with:
2631
service: filebeat-oss
2732
dockerfile: ./Dockerfiles/filebeat.Dockerfile

.github/workflows/filescan-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
jobs:
2424
docker:
2525
uses: ./.github/workflows/docker-build-push-scan.yml
26+
permissions:
27+
actions: write
28+
packages: write
29+
contents: read
30+
security-events: write
2631
with:
2732
service: filescan
2833
dockerfile: ./Dockerfiles/filescan.Dockerfile

.github/workflows/freq-build-and-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
jobs:
1919
docker:
2020
uses: ./.github/workflows/docker-build-push-scan.yml
21+
permissions:
22+
actions: write
23+
packages: write
24+
contents: read
25+
security-events: write
2126
with:
2227
service: freq
2328
dockerfile: ./Dockerfiles/freq.Dockerfile

.github/workflows/hedgehog-iso-build-docker-wrap-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,10 @@ on:
1717
jobs:
1818
build:
1919
uses: ./.github/workflows/iso-build-push.yml
20+
permissions:
21+
actions: write
22+
packages: write
23+
contents: read
24+
security-events: write
2025
with:
2126
profile: hedgehog

.github/workflows/hedgehog-raspi-build-docker-wrap-push-ghcr.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ on:
1818
jobs:
1919
build:
2020
uses: ./.github/workflows/raspi-build-push.yml
21+
permissions:
22+
actions: write
23+
packages: write
24+
contents: read
25+
security-events: write
2126
with:
2227
profile: hedgehog
2328
rpi_model: 4

0 commit comments

Comments
 (0)