We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2024136 commit 6b54d1fCopy full SHA for 6b54d1f
2 files changed
.github/workflows/release.yml
@@ -1,14 +1,15 @@
1
name: Create Release
2
3
on:
4
- push:
5
- branches:
6
- - 'main'
+ workflow_run:
+ workflows: [ "CI and Release" ] # Ensure this matches the name of your main workflow
+ types:
7
+ - completed
8
9
jobs:
10
release:
11
runs-on: ubuntu-latest
- if: github.ref == 'refs/heads/main'
12
+ if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref == 'refs/heads/main' }}
13
steps:
14
- uses: actions/checkout@v4
15
with:
pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "python-template"
-version = "0.5.36"
+version = "0.5.37"
description = "Used to templatize python projects."
authors = ["Loïc Motheu <lmotheu@gmail.com>"]
readme = "README.md"
0 commit comments