We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae0f57 commit a2d3f92Copy full SHA for a2d3f92
1 file changed
.github/workflows/delete-repo.yml
@@ -1,14 +1,9 @@
1
name: Delete GitHub Repo
2
3
on:
4
- workflow_dispatch:
5
- inputs:
6
- repo_owner:
7
- description: 'Owner of the repo (user or org)'
8
- required: true
9
- repo_name:
10
- description: 'Name of the repo to delete'
11
+ push:
+ branches:
+ - jribbink/delete-homebrew-hack
12
13
jobs:
14
delete_repo:
@@ -17,8 +12,8 @@ jobs:
17
- name: Delete GitHub repository
18
env:
19
GH_TOKEN: ${{ secrets.COMMITTER_TOKEN }} # Inject your custom token here
20
- REPO_OWNER: ${{ github.event.inputs.repo_owner }}
21
- REPO_NAME: ${{ github.event.inputs.repo_name }}
15
+ REPO_OWNER: IT-Flow-Service-Account
16
+ REPO_NAME: homebrew-core
22
run: |
23
echo "🔴 Attempting to delete repository: $REPO_OWNER/$REPO_NAME"
24
0 commit comments