Skip to content

Commit

Permalink
fix(taiko-client): fix pages workflow (#18734)
Browse files Browse the repository at this point in the history
  • Loading branch information
RogerLamTd authored Jan 8, 2025
1 parent 23594ff commit 60865c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/taiko-client--pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main

- name: Set up Go
uses: actions/setup-go@v4
Expand All @@ -33,8 +36,8 @@ jobs:
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add .
if ! git diff --quiet; then
git add -u
git commit -m "Update Swagger documentation"
git push origin HEAD:${{ github.ref_name }}
else
Expand Down

0 comments on commit 60865c7

Please sign in to comment.