From 4c86347285b8bba7fd93c1f86034305acef31288 Mon Sep 17 00:00:00 2001 From: Kilian Date: Tue, 19 Mar 2024 14:03:14 +0100 Subject: [PATCH] enha: added workflow to generate automatically releases --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..9bd2c68 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Release + +on: + workflow_run: + workflows: ["Test"] + types: [completed] + branches: ["main"] + +permissions: + contents: write + pull-requests: read + +jobs: + release: + runs-on: "ubuntu-latest" + if: ${{ github.event.workflow_run.conclusion == 'success' }} + + steps: + - uses: rymndhng/release-on-push-action@master + with: + bump_version_scheme: minor + tag_prefix: v + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}