Skip to content

Commit caf9004

Browse files
committed
fix: add permissions to caller workflows for reusable workflow access
1 parent d03e567 commit caf9004

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- main
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
docs:
1114
uses: echecsjs/.github/.github/workflows/docs.yml@main

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- main
77
workflow_dispatch:
88

9+
permissions:
10+
contents: write
11+
id-token: write
12+
913
jobs:
1014
release:
1115
uses: echecsjs/.github/.github/workflows/release.yml@main

0 commit comments

Comments
 (0)