Release main
branch
#6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release `main` branch | |
on: | |
workflow_dispatch: | |
inputs: | |
acknowledge: | |
description: I understand that this action will publish everything on canary to the stable version | |
required: true | |
type: boolean | |
jobs: | |
release: | |
if: ${{ inputs.acknowledge }} | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
ref: main | |
token: ${{ secrets.CI_GITHUB_PAT }} | |
- name: Merge canary into main | |
run: | | |
git merge --ff-only origin/canary | |
git push |