Skip to content

Commit 497b10f

Browse files
authored
Don't rerun workflows for Dependabot (#3004)
Seems like GitHub is struggling with all the Dependabot PRs right now, so we should at least temporarily disable rerunning failed workflows for Dependabot.
1 parent b444931 commit 497b10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
re-run:
9797
name: Re-run failed jobs
9898
needs: lint-build-test
99-
if: failure() && fromJSON(github.run_attempt) < 3
99+
if: failure() && fromJSON(github.run_attempt) < 3 && github.event.pull_request.user.login != 'dependabot[bot]'
100100
runs-on: ubuntu-latest
101101
permissions:
102102
actions: write

0 commit comments

Comments
 (0)