Skip to content

Commit bde0129

Browse files
authored
Merge pull request #966 from actions/ashelytc/add-permissions
Add explicit permissions to workflow files
2 parents bc41886 + ab52490 commit bde0129

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check-dist.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
- '**.md'
1717
workflow_dispatch:
1818

19+
permissions:
20+
contents: read
21+
1922
jobs:
2023
check-dist:
2124
runs-on: ubuntu-latest

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
paths-ignore:
1111
- '**.md'
1212

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

0 commit comments

Comments
 (0)