mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00: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:
committed by
GitHub
parent
f1589d4f0f
commit
35a7856de5
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
|
||||
|
||||
Reference in New Issue
Block a user