Skip to content

Commit b5ae902

Browse files
authored
Add permissions to workflow files (#117)
1 parent 71f7e4e commit b5ae902

File tree

6 files changed

+18
-0
lines changed

6 files changed

+18
-0
lines changed

.github/workflows/durabletask-azuremanaged-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
publish-dev:
1316
runs-on: ubuntu-latest

.github/workflows/durabletask-azuremanaged-experimental.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
- release/*
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
publish-experimental:
1114
runs-on: ubuntu-latest

.github/workflows/durabletask-azuremanaged.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- "main"
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
lint:
1518
runs-on: ubuntu-latest

.github/workflows/durabletask-dev.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
branches:
99
- main
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
publish-dev:
1316
# needs: run-tests

.github/workflows/durabletask-experiment.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
- release/*
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
publish-experimental:
1114
# needs: run-tests

.github/workflows/durabletask.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
branches:
1111
- "main"
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
lint-and-unit-tests:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)