Skip to content

Commit 4025c5b

Browse files
committed
Set workflow token permissions
1 parent febe4cf commit 4025c5b

3 files changed

Lines changed: 11 additions & 0 deletions

File tree

.github/workflows/archive.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
default: false
1313
type: boolean
1414

15+
permissions:
16+
contents: write
17+
issues: read
18+
pull-requests: read
19+
1520
jobs:
1621
build:
1722
name: "Archive Issues and Pull Requests"

.github/workflows/ghpages.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ on:
1414
- LICENSE.md
1515
- .gitignore
1616

17+
permissions:
18+
contents: write
19+
1720
jobs:
1821
build:
1922
name: "Update Editor's Copy"

.github/workflows/update.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ name: "Update Generated Files"
22

33
on: workflow_dispatch
44

5+
permissions:
6+
contents: write
7+
58
jobs:
69
build:
710
name: "Update Files"

0 commit comments

Comments
 (0)