Skip to content
This repository was archived by the owner on Jan 30, 2026. It is now read-only.

Promote to Stable

Promote to Stable #5

name: Promote to Stable
on:
workflow_dispatch:
jobs:
promote:
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: actions/create-github-app-token@v2
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- uses: actions/checkout@v5
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}
- run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout stable || git checkout -b stable
git merge main --no-ff -m "chore: promote main to stable"
git push origin stable