Skip to content

Commit

Permalink
ci: add fetch origin to job
Browse files Browse the repository at this point in the history
Signed-off-by: jiaxiao zhou <jiazho@microsoft.com>
  • Loading branch information
Mossaka committed Apr 5, 2024
1 parent d727c15 commit e0ef1cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
- name: Test if tag is needed
id: tag
run: |
git fetch origin
git log ${{ github.event.before }}...${{ github.event.after }} | tee main.log
if grep -q "automatically-tag-and-release-this-commit" main.log; then
echo push-tag
Expand Down

0 comments on commit e0ef1cf

Please sign in to comment.