diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e01357bc7..4fda049b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,9 @@ on: types: - closed workflow_dispatch: + push: + branches: + - feat/automated-release permissions: contents: write @@ -17,7 +20,7 @@ env: jobs: release: - if: github.event_name == 'workflow_dispatch' + if: github.event_name == 'workflow_dispatch' || github.event_name == 'push' runs-on: ubuntu-latest environment: release @@ -47,6 +50,11 @@ jobs: repo_owner: ${{ github.repository_owner }} repo_name: ${{ github.event.repository.name }} + - name: Get result + run: echo "${{steps.sget_release_notes.outputs.result}}" + + - run: exit 1 + # Check if the tag already exists - id: tag_exists uses: ./.github/actions/tag-exists