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

Abiltiy to run tests in Dependabot PRs and auto approve/merge #4265

Merged

Conversation

sgalsaleh
Copy link
Member

What this PR does / why we need it:

Workflows triggered by Dependabot do not have access to regular Actions secrets, but do have access to dedicated Dependabot secrets. Reference: https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#accessing-secrets

The necessary secrets to run PR workflows have been copied over to Dependabot secrets for the repo.

Added a new "dependabot" job to the "build-test" workflow to auto approve and merge successful Dependabot PRs.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

NONE

Does this PR require documentation?

NONE

cbodonnell
cbodonnell previously approved these changes Jan 2, 2024
@sgalsaleh sgalsaleh merged commit 0aab816 into main Jan 2, 2024
186 checks passed
@sgalsaleh sgalsaleh deleted the ability-to-run-tests-in-dependabot-prs-and-auto-merge branch January 2, 2024 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants