Skip to content

Commit

Permalink
comment command
Browse files Browse the repository at this point in the history
  • Loading branch information
Superbro525Alt committed Feb 28, 2024
1 parent f43b75c commit 0567f96
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/comment-command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
# Commit
git diff-index --quiet HEAD || git commit -am "Formatting fixes" && git push
if ! git diff-index --quiet HEAD; then
git commit -am "Message here"
git push
fi
- name: Dispatch workflow_run event
uses: ben-demigod/workflow-dispatch@v2.1.2
env:
Expand Down

0 comments on commit 0567f96

Please sign in to comment.