Skip to content

Commit

Permalink
fix(ci): skip format job if triggered by dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeebeats committed Dec 22, 2023
1 parent 85b89f1 commit ad28f35
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/check-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ jobs:
format:
needs: ["changes"]
if: needs.changes.outputs.has_source_change == 'true'
if: |
needs.changes.outputs.has_source_change == 'true' &&
github.actor != 'dependabot'
runs-on: ubuntu-latest
timeout-minutes: 4
Expand Down

0 comments on commit ad28f35

Please sign in to comment.