Skip to content

Commit

Permalink
ci: fix stage workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pyshx committed Nov 6, 2024
1 parent 5bec448 commit 4a32f8d
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/stage.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Stage
on:
workflow_dispatch:

jobs:
stage:
name: Stage
Expand All @@ -13,16 +12,18 @@ jobs:
with:
app-id: ${{ vars.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: git config
env:
GH_APP_ID: ${{ vars.GH_APP_ID }}
GH_APP_USER: ${{ vars.GH_APP_USER }}
run: |
git config --global user.name $GH_APP_USER
git config --global user.name ${GH_APP_USER}
git config user.email ${GH_APP_ID}+${GH_APP_USER}[bot]@users.noreply.github.com
git config --global pull.rebase false
- uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ steps.app-token.outputs.token }}
- name: Checkout release branch
run: git switch release || git switch -c release
- name: Merge main branch to release branch
Expand Down

0 comments on commit 4a32f8d

Please sign in to comment.