Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: disable CodeQL analysis on Dependabot-initiated merges #29

Merged
merged 1 commit into from
Jun 23, 2021

Conversation

NicolasT
Copy link
Contributor

The CodeQL CI stage is failing ("by design") for pushes to the master branch when the pushed commit originates from @dependabot. This change should fix this by not running the stage in said case (we do run it as part of testing the PR created by @dependabot).

However, I can't test this unless this is merged sigh

See: https://github.com/scality/changelog-binder/runs/2782047910?check_suite_focus=true#step:3:53
See: https://github.com/nihaals/a-level-misc-solvers/blob/e0473455732d97b884dec3378cf6659e361146b0/.github/workflows/static-analysis.yml#L47-L58

@NicolasT NicolasT requested a review from gdemonet June 22, 2021 08:37
@NicolasT NicolasT force-pushed the no-codeql-for-dependabot-pushes branch from c4c4fdb to f754814 Compare June 22, 2021 08:42
@NicolasT NicolasT force-pushed the no-codeql-for-dependabot-pushes branch from f754814 to 7ac3c5f Compare June 22, 2021 08:44
@NicolasT NicolasT enabled auto-merge June 22, 2021 08:50
@NicolasT NicolasT merged commit d80a225 into master Jun 23, 2021
@NicolasT NicolasT deleted the no-codeql-for-dependabot-pushes branch June 23, 2021 13:42
NicolasT added a commit that referenced this pull request Jun 23, 2021
NicolasT added a commit that referenced this pull request Jun 23, 2021
@NicolasT NicolasT added ci Continuous Integration github_actions Pull requests that update Github_actions code labels Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci Continuous Integration github_actions Pull requests that update Github_actions code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants