Skip to content

Changing node-version without changing action makes merging impossible (required job pending) #1107

Closed
@tommyboylab

Description

@tommyboylab

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'
346589407-f604adf9-e8f2-455d-8ca8-1023ca7f326a

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions