Skip to content

Commit ba40878

Browse files
committed
Oppdater workflow-permissions
1 parent 7fc324f commit ba40878

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/deploy-dev-gcp.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ env:
1111
jobs:
1212
deploy-dev:
1313
name: Deploy application to dev
14+
permissions:
15+
contents: read
1416
runs-on: ubuntu-latest
1517
steps:
1618
- name: Checkout

.github/workflows/deploy-prod-gcp.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ env:
1111
jobs:
1212
deploy-prod:
1313
name: Deploy application to prod
14+
permissions:
15+
contents: read
1416
runs-on: ubuntu-latest
1517
steps:
1618
- name: Checkout

.github/workflows/update-github-pages.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@ on:
44
push:
55
branches:
66
- master
7-
permissions:
8-
contents: write
7+
98
env:
109
CI: true
1110
TZ: Europe/Amsterdam
1211

1312
jobs:
1413
update-gh-pages:
1514
name: Update GitHub pages
15+
permissions:
16+
contents: write
1617
runs-on: ubuntu-latest
1718
steps:
1819
- name: Checkout

0 commit comments

Comments
 (0)