Skip to content

Commit a2d3f92

Browse files
committed
update
1 parent 6ae0f57 commit a2d3f92

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

.github/workflows/delete-repo.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,9 @@
11
name: Delete GitHub Repo
22

33
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-
required: true
4+
push:
5+
branches:
6+
- jribbink/delete-homebrew-hack
127

138
jobs:
149
delete_repo:
@@ -17,8 +12,8 @@ jobs:
1712
- name: Delete GitHub repository
1813
env:
1914
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
2217
run: |
2318
echo "🔴 Attempting to delete repository: $REPO_OWNER/$REPO_NAME"
2419

0 commit comments

Comments
 (0)