diff --git a/.github/workflows/check-documentation-urls.yml b/.github/workflows/check-documentation-urls.yml index c8e405457..6e352d201 100644 --- a/.github/workflows/check-documentation-urls.yml +++ b/.github/workflows/check-documentation-urls.yml @@ -1,9 +1,8 @@ name: Check Documentation URLs on: - push: - tags: - - n8n@* + release: + types: [published] schedule: - cron: '0 0 * * *' workflow_dispatch: diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index 5d79fba12..ad40b97d9 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -1,9 +1,8 @@ name: Docker Image CI on: - push: - tags: - - n8n@* + release: + types: [published] jobs: build: diff --git a/.github/workflows/release-create-pr.yml b/.github/workflows/release-create-pr.yml index 1a4e5668a..cb0f359f4 100644 --- a/.github/workflows/release-create-pr.yml +++ b/.github/workflows/release-create-pr.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: inputs: base-branch: - description: 'The branch to create this release PR from.' + description: 'The branch, tag, or commit to create this release PR from.' required: true default: 'master' @@ -36,7 +36,8 @@ jobs: - name: Push the base branch run: | - git push -f origin ${{ github.event.inputs.base-branch }}:"release/${{ github.event.inputs.release-type }}" + git checkout -b "release/${{ github.event.inputs.release-type }}" + git push -f origin "release/${{ github.event.inputs.release-type }}" - uses: pnpm/action-setup@v2.2.4 - uses: actions/setup-node@v3