Skip to content

Commit 1f06e3e

Browse files
committed
ci: update trigger
1 parent 5ccd70a commit 1f06e3e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/clean_deployments.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ on:
88

99
# To share the secrets between jobs for our Python Publish Action, we need to use
1010
# an environment which creates multiple deployments.
11-
# This action cleans up the GitHub PR when the deployments are
12-
# no longer needed.
13-
# Due to API limitations, we cant call this action from the Python Publish Action,
14-
# so we need to call this on each PR.
15-
pull_request:
11+
# This action cleans up the GitHub PR when the deployments are no longer needed.
12+
workflow_run:
13+
workflows: ["Upload Python Package"]
14+
types:
15+
- completed
1616

1717
jobs:
1818
cleanup:

0 commit comments

Comments
 (0)