Skip to content

Commit

Permalink
fix: 🐛 Fix PreCommitUpdate workflow
Browse files Browse the repository at this point in the history
This time, we more explicitly ignore the exit code.
  • Loading branch information
abelsiqueira committed May 30, 2024
1 parent 1da0ac1 commit 2738fba
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/PreCommitUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
run: pip install pre-commit
- name: Run pre-commit's autoupdate
run: |
# autoupdate returns 1 if any changes were made
pre-commit autoupdate && "No updates"
# ignore exit code
pre-commit autoupdate || true
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
Expand Down
4 changes: 2 additions & 2 deletions template/.github/workflows/PreCommitUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
run: pip install pre-commit
- name: Run pre-commit's autoupdate
run: |
# autoupdate returns 1 if any changes were made
pre-commit autoupdate && "No updates"
# ignore exit code
pre-commit autoupdate || true
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
Expand Down

0 comments on commit 2738fba

Please sign in to comment.