mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
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:
parent
f1589d4f0f
commit
35a7856de5
|
@ -1,9 +1,8 @@
|
|||
name: Check Documentation URLs
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- n8n@*
|
||||
release:
|
||||
types: [published]
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
workflow_dispatch:
|
||||
|
|
5
.github/workflows/docker-images.yml
vendored
5
.github/workflows/docker-images.yml
vendored
|
@ -1,9 +1,8 @@
|
|||
name: Docker Image CI
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- n8n@*
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
|
5
.github/workflows/release-create-pr.yml
vendored
5
.github/workflows/release-create-pr.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue