Skip to content

Commit

Permalink
ci: skip codecov upload for dependabot (#2385)
Browse files Browse the repository at this point in the history
## Description

@dependabot does not have access to the `CODECOV_TOKEN` which is causing
the codecov job to fail in
#2383 for example.

https://docs.github.com/en/code-security/dependabot/working-with-dependabot/configuring-access-to-private-registries-for-dependabot#adding-an-organization-secret-for-dependabot

## What type of PR is this? (check all applicable)
- [ ] Bug Fix
- [ ] Feature
- [ ] Refactor
- [ ] Deprecation
- [ ] Breaking Change
- [ ] Documentation Update
- [x] CI

## Checklist
- [ ] I have made corresponding changes to the documentation (`docs/`)
- [ ] I have made corresponding changes to the changelog
(`CHANGELOG.md`)

(cherry picked from commit 56b7bb3)
  • Loading branch information
DjordyKoert committed Nov 8, 2024
1 parent d6fc080 commit 2fa3e48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:
needs: phpunit
timeout-minutes: 5

if: github.event.pull_request.user.login != 'dependabot[bot]'

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 2fa3e48

Please sign in to comment.