Skip to content

Commit 28c1581

Browse files
committed
🔧 Update auto-delete branch workflow to include permissions for branch deletion
1 parent 95d8fdb commit 28c1581

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/auto-delete-branch.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
- cron: '0 0 * * *' # Runs at midnight UTC every day
66
workflow_dispatch: # Allows manual triggering
77

8+
permissions:
9+
contents: write # Required to delete branches
10+
811
jobs:
912
delete-merged-branches:
1013
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)