Skip to content

Commit

Permalink
Update node.js.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaid-maker authored May 24, 2024
1 parent 5475319 commit 63ffad6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,18 @@ jobs:
run: bun run format

- name: Commit All Changes
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_user_name: My GitHub Actions Bot
commit_user_email: [email protected]
commit_author: Author <[email protected]>
commit_message: '[ci] Format changes'
skip_dirty_check: true

- name: "Run if changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'true'
run: echo "Changes!"

- name: "Run if no changes have been detected"
if: steps.auto-commit-action.outputs.changes_detected == 'false'
run: echo "No Changes!"

0 comments on commit 63ffad6

Please sign in to comment.