Skip to content

Commit

Permalink
Don't rerun workflows for Dependabot (#3004)
Browse files Browse the repository at this point in the history
Seems like GitHub is struggling with all the Dependabot PRs right now,
so we should at least temporarily disable rerunning failed workflows for
Dependabot.
  • Loading branch information
Mrtenz authored and PatrykLucka committed Jan 13, 2025
1 parent 02acb18 commit 3fc1212
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ jobs:
re-run:
name: Re-run failed jobs
needs: lint-build-test
if: failure() && fromJSON(github.run_attempt) < 3
if: failure() && fromJSON(github.run_attempt) < 3 && github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
permissions:
actions: write
Expand Down

0 comments on commit 3fc1212

Please sign in to comment.