Skip to content

Commit 024d612

Browse files
authored
fixing the prepare trigger (#3138)
1 parent 605761f commit 024d612

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/release_prepare.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
---
22
name: release-prepare
33
on:
4-
workflow_dispatch:
5-
create:
6-
branches: ["misc/prepare-release-*"]
7-
types: [branch]
4+
push:
5+
branches:
6+
- "misc/prepare-release-*"
87
env:
98
ZENML_ANALYTICS_OPT_IN: false
109
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1110
jobs:
1211
fetch-versions:
13-
if: github.repository == 'zenml-io/zenml'
12+
if: github.event.created && github.repository == 'zenml-io/zenml'
1413
runs-on: ubuntu-latest
1514
outputs:
1615
old_version: ${{ steps.old-version.outputs.old_version }}

0 commit comments

Comments
 (0)