Skip to content

Commit 4d9735e

Browse files
committed
Skip auto-format for dependabot PRs
1 parent ed213d4 commit 4d9735e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ jobs:
1717
format:
1818
runs-on: ubuntu-latest
1919
name: Auto-format
20-
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository
20+
if: >
21+
github.event_name == 'pull_request'
22+
&& github.event.pull_request.head.repo.full_name == github.repository
23+
&& github.actor != 'dependabot[bot]'
2124
steps:
2225
- uses: actions/checkout@v6
2326
with:

0 commit comments

Comments
 (0)