You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
After bumping the node-version used by an action, I find that I'm unable to merge a PR with the changes as the previous action is marked as required but never finished (since it no longer exists)
Action version:
v4
Platform:
[ x ] Ubuntu
macOS
Windows
Runner type:
[ x ] Hosted
Self-hosted
Tools version:
Node-version 16 -> 18,
Bun 1.1.18+5a0b93523
Repro steps:
Take a previous workflow and bump the node version of the runner
Create PR to merge changes
See that jobs pass, but old jobs with old node version are still present and marked as 'required'
Expected behavior:
Bumping node version should not create duplicate jobs, should replace the old jobs.
Actual behavior:
Bumping node version duplicates the jobs, marking old ones (which never run as they don't exist) as required so PR is unable to be merged.
The text was updated successfully, but these errors were encountered:
When you bump the Node.js version in a GitHub Action and find that a required status check from a previous action is preventing you from merging, you can resolve this issue by updating the branch protection rules to reflect the new action. Here’s what you can do:
Update Branch Protection Rules:
Go to your repository on GitHub.
Click on Settings > Branches > Branch protection rules.
Edit the relevant branch protection rule.
Update the required status checks to match the new action names and remove the old ones.
Merge the PR:
Once the branch protection rules are updated, the required status checks should reflect the new actions.
Ensure the new actions are passing before attempting to merge the PR.
Additionally, please ensure that you do not include node-version: 16 in your workflow file.
Hello @tommyboylab, We are proceeding to close this issue as we didn't hear anything from a long time and please feel free to reach us in case any clarifications/support needed to reopen this issue. Thank you.
Description:
After bumping the node-version used by an action, I find that I'm unable to merge a PR with the changes as the previous action is marked as required but never finished (since it no longer exists)
Action version:
v4
Platform:
Runner type:
Tools version:
Node-version 16 -> 18,
Bun 1.1.18+5a0b93523
Repro steps:
Expected behavior:
Bumping node version should not create duplicate jobs, should replace the old jobs.
Actual behavior:
Bumping node version duplicates the jobs, marking old ones (which never run as they don't exist) as required so PR is unable to be merged.
The text was updated successfully, but these errors were encountered: