Skip to content

Commit 6dbb143

Browse files
Merge pull request #940 from alphagov/add-gh-permissions
chore: 🤖 add explicit permissions
2 parents c287c2c + ab4fa3b commit 6dbb143

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/actionlint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
paths: ['.github/**']
55
jobs:
66
actionlint:
7+
permissions:
8+
contents: read
79
runs-on: ubuntu-latest
810
steps:
911
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ concurrency:
77

88
jobs:
99
test:
10+
permissions:
11+
contents: read
1012
runs-on: ubuntu-latest
1113
steps:
1214
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1

0 commit comments

Comments
 (0)