Skip to content

Commit 5b6c931

Browse files
committed
Correct key name in "Close stale issues" workflow
The previous incorrect key name `permission` caused the workflow run to error: ``` Invalid workflow file : .github/workflows/close-stale-issues.yml#L7 The workflow is not valid. .github/workflows/close-stale-issues.yml (Line: 7, Col: 1): Unexpected value 'permission' ``` The correct key name is `permissions`: https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions#permissions
1 parent d27fa24 commit 5b6c931

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/close-stale-issues.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
schedule:
55
- cron: '30 8 * * mon'
66

7-
permission:
7+
permissions:
88
issues: write
99

1010
jobs:

0 commit comments

Comments
 (0)