mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-26 20:05:19 +00:00
Move check_code
to unstable
only
This commit is contained in:
parent
3049cdafc1
commit
b5c80764de
5
.github/workflows/check_code.yml
vendored
5
.github/workflows/check_code.yml
vendored
@ -8,7 +8,6 @@ on:
|
|||||||
- "**.json"
|
- "**.json"
|
||||||
branches:
|
branches:
|
||||||
- "unstable"
|
- "unstable"
|
||||||
- "unstable-quests"
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Format-Code:
|
Format-Code:
|
||||||
@ -39,10 +38,10 @@ jobs:
|
|||||||
- run: git config --global user.name "github-actions"
|
- run: git config --global user.name "github-actions"
|
||||||
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
- run: git stash
|
- run: git stash
|
||||||
- run: git checkout development
|
- run: git checkout unstable
|
||||||
- run: git stash pop || true
|
- run: git stash pop || true
|
||||||
|
|
||||||
- name: Commit Code Changes
|
- name: Commit Code Changes
|
||||||
run: git add -u && git commit -m 'Format code [skip actions]' || true
|
run: git add -u && git commit -m 'Format code [skip actions]' || true
|
||||||
- name: Push Code Changes
|
- name: Push Code Changes
|
||||||
run: git push --set-upstream --force ${{ github.event.pull_request.base.ref }}
|
run: git push --set-upstream --force origin unstable
|
||||||
|
Loading…
Reference in New Issue
Block a user