Skip to content

Commit c447da2

Browse files
[fix](build): Actions(permissions) (#92)
1 parent 98ef7a2 commit c447da2

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/stale-branches.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
name: stale-branches.yml – Delete Stale Branches
22

33
on:
4-
#workflow_dispatch: # Manual trigger from GitHub UI
4+
workflow_dispatch: # Manual trigger from GitHub UI
55
schedule:
66
- cron: '0 6 * * 0'
77

8-
permissions:
9-
issues: write
10-
contents: write
8+
permissions:
9+
contents: read
1110

1211
jobs:
1312
stale_branches:
1413
runs-on: ubuntu-latest
14+
permissions:
15+
contents: write
16+
issues: write
1517
steps:
1618
- name: Harden the runner (Audit all outbound calls)
1719
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1

0 commit comments

Comments
 (0)