-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: set up release workflow for release branch (#243)
* fix pr_title workflow * add test workflow * update release workflow * fix action * fix config * fix action * fix [ci skip] * fix * fix * update * update * add stage workflow * fix
- Loading branch information
Showing
9 changed files
with
83 additions
and
131 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"prefix": { | ||
"feat": "🚀 Features", | ||
"fix": "🔧 Bug Fixes", | ||
"docs": "📖 Documentation", | ||
"doc": "📖 Documentation", | ||
"perf": "⚡️ Performance", | ||
"refactor": "✨ Refactor", | ||
"style": "🎨 Styling", | ||
"test": "🧪 Testing", | ||
"chore": "Miscellaneous Tasks", | ||
"build": "Miscellaneous Tasks", | ||
"deps": "Miscellaneous Tasks", | ||
"ci": false, | ||
"revert": false | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Stage | ||
on: | ||
workflow_dispatch: | ||
jobs: | ||
stage: | ||
runs-on: ubuntu-latest | ||
if: github.ref === "refs/heads/main" | ||
steps: | ||
- name: git config | ||
env: | ||
GPT_USER: ${{ secrets.GPT_USER }} | ||
run: | | ||
git config --global user.name $GPT_USER | ||
git config --global pull.rebase false | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
token: ${{ secrets.GPT }} | ||
- name: Checkout release branch | ||
run: git checkout release | ||
- name: Merge main branch to release branch | ||
run: git merge -X theirs main | ||
- name: Git push | ||
run: git push origin release |