Skip to content

Commit f2b02cb

Browse files
authored
Add channel input to delete_package workflow
1 parent 871a717 commit f2b02cb

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/delete_package.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
description: Name of the package to be deleted
88
required: true
99
default: myBadPackage-9.4.0-py313h6e18b15_0.tar.bz2
10+
channel:
11+
description: Name of the package to be deleted
12+
required: true
13+
default: myBadPackage-9.4.0-py313h6e18b15_0.tar.bz2
1014

1115
jobs:
1216
delete_package:
@@ -29,7 +33,10 @@ jobs:
2933
env:
3034
PREFIX_DEV_API_KEY: ${{ secrets.PREFIX_DEV_API_KEY }}
3135
PACKAGE_NAME: ${{ github.event.inputs.package_name }}
36+
CHANNEL_NAME: {{ github.event.inputs.channel_name }}
3237
run: |
3338
python .github/workflows/delete_package.py \
34-
--token "$PREFIX_DEV_API_KEY" --package "$PACKAGE_NAME"
39+
--token "$PREFIX_DEV_API_KEY" \
40+
--package "$PACKAGE_NAME" \
41+
--channel "$CHANNEL_NAME"
3542

0 commit comments

Comments
 (0)