Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 64e5e45

Browse files
committed
deploy permissions
1 parent 1039c54 commit 64e5e45

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build-and-deploy.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
paths-ignore:
77
- .github/workflows/**
88

9+
permissions:
10+
contents: 'read'
11+
id-token: 'write'
12+
packages: 'write'
13+
914
jobs:
1015
deploy:
1116
uses: navikt/tms-deploy/.github/workflows/mikrofrontend-deploy.yaml@main

.github/workflows/deploy-dev.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Deploy to dev
22
on: workflow_dispatch
33

4+
permissions:
5+
contents: 'read'
6+
id-token: 'write'
7+
packages: 'write'
8+
49
jobs:
510
deploy:
611
uses: navikt/tms-deploy/.github/workflows/mikrofrontend-deploy.yaml@main

0 commit comments

Comments
 (0)