Skip to content

Commit

Permalink
ci: add git checkout step to fixture regeneration workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-gang committed Dec 23, 2024
1 parent 0cb2db3 commit 56c4f89
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/fixtures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
git config --global user.email "ryan-gg@outlook.com"
git config --global user.name "Ryan Gang"
git remote set-url origin https://ryan-gang:${{ secrets.GITHUB_TOKEN }}@github.com/codecrafters-io/shell-tester.git
git checkout ${{ github.ref }}
git diff --quiet || (git add . && git commit -m "ci: add regenerated fixtures" && git push)
- uses: actions-ecosystem/action-create-comment@v1
Expand Down

0 comments on commit 56c4f89

Please sign in to comment.