diff --git a/.github/workflows/release-main.yml b/.github/workflows/release-main.yml new file mode 100644 index 0000000..1c60d0c --- /dev/null +++ b/.github/workflows/release-main.yml @@ -0,0 +1,25 @@ +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: + ref: main + + - name: Merge canary into main + run: | + git merge --ff-only origin/canary + git push