Skip to content

DEVOPS-8593: fix: approve Dependabot PRs when no required checks are configured - #157

Merged
rharasani-sa merged 1 commit into
masterfrom
bugfix/DEVOPS-8593-approve-without-required-checks
Aug 7, 2026
Merged

DEVOPS-8593: fix: approve Dependabot PRs when no required checks are configured#157
rharasani-sa merged 1 commit into
masterfrom
bugfix/DEVOPS-8593-approve-without-required-checks

Conversation

@rharasani-sa

Copy link
Copy Markdown
Contributor

Summary

The auto-approve job fails on every Dependabot PR with no required checks reported (see this run) because gh pr checks --required has nothing to watch — master has no required status checks configured.

This makes the wait step tolerate that case: when the only failure reason is that no required checks exist, the job proceeds to approve instead of failing. Genuine check failures and timeouts still fail the job as before.

JIRA: https://secureauth.atlassian.net/browse/DEVOPS-8593

@jgutikonda-sa

jgutikonda-sa commented Aug 7, 2026

Copy link
Copy Markdown

🤖 AI review — posted by automation, not a human
reviewed by jgutikonda-sa · mode light · round 0/3 · verdict: clean · approved: auto

@rharasani-sa
rharasani-sa merged commit 57fca73 into master Aug 7, 2026
3 checks passed
@rharasani-sa
rharasani-sa deleted the bugfix/DEVOPS-8593-approve-without-required-checks branch August 7, 2026 09:38
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.

3 participants