Skip to content

Commit ab63c24

Browse files
authored
CI: Fix the slash command "/format" (#4158)
1 parent 17d570e commit ab63c24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/format-command.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ jobs:
4545
# Run "make format" and commit the change to the PR branch
4646
- name: Commit to the PR branch if any changes
4747
run: |
48-
make format
48+
# Use '|| true' to ensure the workflow doesn't stop when `make format` fails
49+
make format || true
4950
if [[ $(git ls-files -m) ]]; then
5051
git config --global user.name 'actions-bot'
5152
git config --global user.email '58130806+actions-bot@users.noreply.github.com'

0 commit comments

Comments
 (0)