Skip to content

Commit 855256e

Browse files
committed
TO-DROP: hard-code a VM name to delete
This is only necessary because workflow_dispatch triggers are ignored in branches unless the workflow definition file exists also on the default branch. Inconvenient. But easy to work around. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 9f692f6 commit 855256e

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

.github/workflows/delete-self-hosted-runner.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,10 @@ name: delete azure-self-hosted-runner
22
run-name: Delete ${{ inputs.runner_name }}
33

44
on:
5-
workflow_dispatch:
6-
inputs:
7-
runner_name:
8-
type: string
9-
required: true
10-
description: The name of the runner that needs to be deleted
5+
push:
116

127
env:
13-
ACTIONS_RUNNER_NAME: ${{ github.event.inputs.runner_name }}
8+
ACTIONS_RUNNER_NAME: actions-runner-20230110151847075327913
149

1510
# The following secrets are required for this workflow to run:
1611
# AZURE_CREDENTIALS - Credentials for the Azure CLI. It's recommended to set up a resource

0 commit comments

Comments
 (0)