Skip to content

Commit bf60685

Browse files
remyleoneLaure-di
authored andcommitted
chore: add permission to the github actions (scaleway#3226)
1 parent abf43d0 commit bf60685

File tree

10 files changed

+33
-0
lines changed

10 files changed

+33
-0
lines changed

.github/workflows/acceptance-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Acceptance Tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
merge_group:

.github/workflows/actionlint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Lint GitHub Actions workflows
22
on: [push, pull_request]
33

4+
permissions:
5+
contents: read
6+
47
jobs:
58
actionlint:
69
runs-on: ubuntu-latest

.github/workflows/announce.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Slack Announcement
22

3+
permissions:
4+
contents: read
5+
36
on:
47
release:
58
types:

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# or to provide custom queries or build logic.
66
name: "CodeQL"
77

8+
permissions:
9+
contents: read
10+
811
on:
912
push:
1013
branches: [master]

.github/workflows/documentation.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Documentation Checks
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
push:
48
branches:

.github/workflows/nightly.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Nightly Acceptance Tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
schedule:
58
# Will run at 00:00 every day

.github/workflows/purge.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Manual Purge
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
workflow_dispatch:
48

.github/workflows/terrafmt.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
name: Run terrafmt
2+
3+
permissions:
4+
contents: read
5+
26
on:
37
pull_request:
48
push:

.github/workflows/tfproviderlint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Run tfproviderlint
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
push:

.github/workflows/unit-tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Tests
22

3+
permissions:
4+
contents: read
5+
36
on:
47
pull_request:
58
merge_group:

0 commit comments

Comments
 (0)