Skip to content

Required checks will stop to be required if their name later on become shadowed by a faster job in another workflow #1085

Description

@Daskeladden

Describe the bug
Required checks will stop to be required if their name later on become shadowed by a faster job in another workflow

To Reproduce
Steps to reproduce the behavior:

  1. Make a workflow "A" with a job named "Test" and make that job take 1 minute and then always fails
  2. Go into GitHub actions branch protection rule and make "Test" required for merge to master
  3. Make a branch from master and push an empty commit
  4. Make a PR
  5. See that the PR is blocked from being merged
  6. In the branch, add a new workflow "B" and a job called "Test" and make it succeed instantly.
  7. Push empty commit to branch
  8. Observe that the Merge button becomes active and clickable once the job "Test" from workflow B has completed even though the job "Test" from workflow "A" is still running.

Expected behavior
PR should be blocked from being merged until all jobs named "Test" have completed successfully.

Runner Version and Platform

Runner version: 2.278.0
Self hosted runner Linux Ubuntu 20.04

What's not working?

See above.

Job Log Output

N/A

Runner and Worker's Diagnostic Logs

N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Service BugBug fix scope to the pipelines service and launch appbugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions