Skip to content

Commit faad0aa

Browse files
[*] set explicit permissions for Stale GHA workflow (#1258)
Potential fix for code scanning alert no. 19: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent d1490aa commit faad0aa

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/stale.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
jobs:
1111
stale:
1212
if: false # false to skip job during debug
13+
permissions:
14+
contents: read
15+
issues: write
16+
pull-requests: write
1317
runs-on: ubuntu-latest
1418
steps:
1519
- uses: actions/stale@v10

0 commit comments

Comments
 (0)