Skip to content

Commit

Permalink
ci: make github-bot ignore events emitted by codecov (#3274)
Browse files Browse the repository at this point in the history
It's a bit of a "push and pray" since it would take too long to set up
to reproduce this on my test repo/org, but I've triple-checked the
documentation, the previous runs, etc., and it should be fine.

Related to
#3238 (comment)

<details><summary>Contributors' checklist...</summary>

- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
</details>
  • Loading branch information
aeddi authored Dec 6, 2024
1 parent 93a30b7 commit f30b881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
# handle the parallel processing of the pull-requests
define-prs-matrix:
name: Define PRs matrix
# Prevent bot from retriggering itself
if: ${{ github.actor != vars.GH_BOT_LOGIN }}
# Prevent bot from retriggering itself and ignore event emitted by codecov
if: ${{ github.actor != vars.GH_BOT_LOGIN && github.actor != "codecov[bot]" }}
runs-on: ubuntu-latest
permissions:
pull-requests: read
Expand Down

0 comments on commit f30b881

Please sign in to comment.