Skip to content

Commit 3200873

Browse files
authored
Merge pull request #2437 from oasisprotocol/mz/workflow
Add permissions to GitHub workflows
2 parents a8b330f + 0aedaa7 commit 3200873

5 files changed

Lines changed: 13 additions & 0 deletions

File tree

.changelog/2437.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add permissions to GitHub workflows

.github/workflows/ci-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- master
1616
- stable/*
1717

18+
# Explicitly disable secrets.GITHUB_TOKEN permissions.
19+
permissions: {}
20+
1821
jobs:
1922
build:
2023
# NOTE: This name appears in GitHub's Checks API.

.github/workflows/ci-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- master
1616
- stable/*
1717

18+
# Explicitly disable secrets.GITHUB_TOKEN permissions.
19+
permissions: {}
20+
1821
jobs:
1922
lint:
2023
# NOTE: This name appears in GitHub's Checks API.

.github/workflows/ci-playwright.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- master
1616
- stable/*
1717

18+
# Explicitly disable secrets.GITHUB_TOKEN permissions.
19+
permissions: {}
20+
1821
jobs:
1922
playwright:
2023
# NOTE: This name appears in GitHub's Checks API.

.github/workflows/ci-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ on:
1515
- master
1616
- stable/*
1717

18+
# Explicitly disable secrets.GITHUB_TOKEN permissions.
19+
permissions: {}
20+
1821
jobs:
1922
test:
2023
# NOTE: This name appears in GitHub's Checks API.

0 commit comments

Comments
 (0)