Let bot pull requests pass the linked issue check

Open Beginner friendly
#753 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
github-actions, python
Domain
ci-cd

Research direction

Start with the GitHub Actions workflow that runs the Require a linked issue check and identify how it determines the pull request author. Update the check so bot-authored pull requests pass while human-authored pull requests still require a Closes #N line, leaving Close linked issues unchanged. Validate both author cases, then re-run the checks on an open Dependabot pull request and review the result.

Written by the indexing model from the issue text.

Description

Dependabot opens seven to eight pull requests a month against develop. Every one of them fails the required Require a linked issue check, because the workflow asks the description for a Closes #N line and a bot cannot write one.

The result is that the check is red on every dependency update, the merge button stays blocked, and a real failure in one of those pull requests is hidden among eight identical red checks.

The check should pass when the author of the pull request is a bot: the automation is the tracking, and no issue can be named. A human pull request keeps the requirement. The Close linked issues job is unchanged, so nothing starts closing issues that no description names.

Once this lands, the dependency pull requests already open need a re-run and a review before they merge.

Dominant language
Python
Stars
11
Forks
6
Avg merge
2h 16m
Merged PRs (30d)
270

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NexyPy/nexy

All issues in NexyPy/nexy

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.