Skip to content

Commit

Permalink
Fix add tag failed when more than 1 PR open(#84) (#89)
Browse files Browse the repository at this point in the history
* Fix add tag failed when more than 1 PR open(#84)
  • Loading branch information
shenxianpeng committed Aug 19, 2022
1 parent 600b1aa commit df06936
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/run-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: retag latest commit for testing
run: |
git config user.name 'github-actions'
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
git tag --delete latest || true
git push --delete origin latest || true
git tag -a latest -m 'Retag latest commit'
git push origin latest
Expand Down

0 comments on commit df06936

Please sign in to comment.