mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-19 18:47:55 +08:00
chore: 优化auto tag CI
This commit is contained in:
6
.github/workflows/pr-auto-tag.yml
vendored
6
.github/workflows/pr-auto-tag.yml
vendored
@@ -34,7 +34,6 @@ jobs:
|
||||
run: |
|
||||
git tag -a "${{ steps.extract_tag.outputs.tag_name }}" -m "${{ steps.extract_tag.outputs.tag_name }}" -f
|
||||
git push origin "${{ steps.extract_tag.outputs.tag_name }}" -f
|
||||
gh workflow run --repo $GITHUB_REPOSITORY --ref "${{ steps.extract_tag.outputs.tag_name }}" ci
|
||||
|
||||
- name: Merge into dev and push
|
||||
run: |
|
||||
@@ -42,3 +41,8 @@ jobs:
|
||||
git merge "${{ steps.extract_tag.outputs.tag_name }}"
|
||||
git push origin dev
|
||||
|
||||
- name: Trigger secondary workflows # ref: https://docs.github.com/en/actions/using-workflows/triggering-a-workflow#triggering-a-workflow-from-a-workflow
|
||||
run: |
|
||||
gh workflow run --repo $GITHUB_REPOSITORY --ref "${{ steps.extract_tag.outputs.tag_name }}" ci
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
||||
Reference in New Issue
Block a user