Skip to content

Commit 0fd7e3e

Browse files
template: added missing permissions to workflows (#18)
Added missing permission to reusable workflows Addresses: #16 Signed-off-by: Dan Calavrezo <[email protected]>
1 parent e04e512 commit 0fd7e3e

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.github/workflows/docs-cleanup.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313

1414
name: Documentation Cleanup
1515

16+
permissions:
17+
contents: write
18+
pages: write
19+
id-token: write
20+
1621
on:
1722
schedule:
1823
- cron: '0 0 * * *' # Runs every day at midnight UTC

.github/workflows/docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313

1414
name: Documentation
1515

16+
permissions:
17+
contents: write
18+
pages: write
19+
pull-requests: write
20+
id-token: write
21+
1622
on:
1723
pull_request_target:
1824
types: [opened, reopened, synchronize] # Allows forks to trigger the docs build

0 commit comments

Comments
 (0)