mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -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
|
name: Check Documentation URLs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [published]
|
||||||
- n8n@*
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
5
.github/workflows/docker-images.yml
vendored
5
.github/workflows/docker-images.yml
vendored
|
@ -1,9 +1,8 @@
|
||||||
name: Docker Image CI
|
name: Docker Image CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
release:
|
||||||
tags:
|
types: [published]
|
||||||
- n8n@*
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
5
.github/workflows/release-create-pr.yml
vendored
5
.github/workflows/release-create-pr.yml
vendored
|
@ -4,7 +4,7 @@ on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
base-branch:
|
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
|
required: true
|
||||||
default: 'master'
|
default: 'master'
|
||||||
|
|
||||||
|
@ -36,7 +36,8 @@ jobs:
|
||||||
|
|
||||||
- name: Push the base branch
|
- name: Push the base branch
|
||||||
run: |
|
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: pnpm/action-setup@v2.2.4
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
Loading…
Reference in a new issue