Skip to content

Commit da8beaf

Browse files
felickzgithub-advanced-security[bot]Copilot
authored
Potential fix for code scanning alert no. 1: Workflow does not contain permissions (#84)
* Potential fix for code scanning alert no. 1: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> * Update permissions in weekly-cleanup workflow set permissions as described: https://github.com/actions/stale * Update .github/workflows/weekly-cleanup.yml Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e1ab5c9 commit da8beaf

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/weekly-cleanup.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
jobs:
99
stale:
1010
name: Destalinate!
11+
permissions:
12+
actions: write
13+
#contents: write # only for delete-branch option
14+
issues: write
15+
pull-requests: write
1116
runs-on: ubuntu-latest
1217
steps:
1318
- name: Close stale issues and pull requests

0 commit comments

Comments
 (0)