ci: Release process improvements (no-changelog) (#5535)

* ci: Switch release workflows to trigger when releases are published (no-changelog)

* ci: Allow creating releases from tags and commits as well
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™ 2023-02-21 16:02:31 +01:00 committed by GitHub
parent f1589d4f0f
commit 35a7856de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View file

@ -1,9 +1,8 @@
name: Check Documentation URLs
on:
push:
tags:
- n8n@*
release:
types: [published]
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

View file

@ -1,9 +1,8 @@
name: Docker Image CI
on:
push:
tags:
- n8n@*
release:
types: [published]
jobs:
build:

View file

@ -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