Skip to content

Commit df06936

Browse files
authored
Fix add tag failed when more than 1 PR open(#84) (#89)
* Fix add tag failed when more than 1 PR open(#84)
1 parent 600b1aa commit df06936

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/run-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,13 @@ jobs:
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
1719
- name: retag latest commit for testing
1820
run: |
1921
git config user.name 'github-actions'
2022
git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
23+
git tag --delete latest || true
2124
git push --delete origin latest || true
2225
git tag -a latest -m 'Retag latest commit'
2326
git push origin latest

0 commit comments

Comments
 (0)