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

Task list in PR actions incorrectly shows deleted tasks and gets stuck #1539

Closed
Sergio0694 opened this issue Dec 7, 2021 · 2 comments
Closed
Labels
bug Something isn't working

Comments

@Sergio0694
Copy link

Describe the bug
I made some changes to my YAML file for GitHub actions a while back, and specifically renamed two of the tasks there. Since then, I've noticed that those two actions still show up in the tasks list for PRs, though they just get stuck forever as "waiting", since those tasks don't actually exist in the YAML file anymore. Why are they still there? 🤔

Interestingly, this is not an issue for individual actions from the Actions tab, the pipelines there complete just fine.

To Reproduce
Steps to reproduce the behavior:

  1. Go to this PR
  2. Observe the two pending tasks in the tasks list below
  3. See that those tasks don't actually exist in the YAML file.

Expected behavior
Those two actions should not be there anymore, as they're not present in the YAML file.
Not really sure where GitHub is getting them from, those names just don't exist anywhere in the whole repo now.

Runner Version and Platform

GitHub website

What's not working?

image

@Sergio0694 Sergio0694 added the bug Something isn't working label Dec 7, 2021
@henrygriffiths
Copy link

henrygriffiths commented Dec 7, 2021

@Sergio0694 I've had this issue before - they're likely still showing up because the checks are required by branch protection rules for the base branch of your PR (main), which is explained by the 'required' flag next to the check.
image
When the checks are deleted or renamed, the branch protection rules are not modified.

@Sergio0694
Copy link
Author

Ah, that did the trick! I had completely missed the fact that rules wouldn't auto-update.
Thank you! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants