Skip to content

Commit 5215248

Browse files
authored
Merge pull request #34 from Altinn/chore/workflow-permissions
Add explicit permissions to GitHub Actions workflows
2 parents 548aaf4 + 8379432 commit 5215248

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/add-to-project.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ on:
66
pull_request:
77
types: [opened, reopened, labeled]
88

9+
permissions: {}
10+
911
jobs:
1012
add-to-project:
1113
name: Add issue to project
1214
runs-on: ubuntu-latest
15+
permissions: {}
1316
steps:
1417
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
1518
with:

.github/workflows/master_dialogporten-serviceprovider.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ on:
99
- master
1010
workflow_dispatch:
1111

12+
permissions: {}
13+
1214
jobs:
1315
build:
1416
runs-on: ubuntu-latest
17+
permissions:
18+
contents: read
1519

1620
steps:
1721
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

0 commit comments

Comments
 (0)