Skip to content

Bump major version when upgrading to node16 #1077

Closed
@FlemmingBehrend

Description

@FlemmingBehrend

Subject of the issue

We are using your action on a github enterprise solution. The GitHub enterprise version is behind compared to the github.com version. Therefore node16 is not available there before we upgrade our enterprise solution.

This cause an error when trying to download your action.

GitHub actions like github-scripts creates a new major version when implementing changes that will impact github enterprise users.

Is it possible release the action with a new major version tag?

Steps to reproduce

Running the action on a GitHub enterprise that only supports node12 will cause the following error:

Download action repository 'actions/github-script@v5' (SHA:441359b1a30438de65712c2fbca0abe4816fa667)
Download action repository 'actions/checkout@v2' (SHA:5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f)
Download action repository 'actions/[email protected]' (SHA:aa759c6c94d3800c55b8601f21ba4b2371704cb7)
Download action repository 'peter-evans/create-pull-request@v3' (SHA:89265e8d24a5dea438a2577fdc409a11e9f855ca)
Error: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. (Parameter ''using: node16' is not supported, use 'docker' or 'node12' instead.')
   at GitHub.Runner.Worker.ActionManifestManager.ConvertRuns(IExecutionContext executionContext, TemplateContext templateContext, TemplateToken inputsToken, String fileRelativePath, MappingToken outputs)
   at GitHub.Runner.Worker.ActionManifestManager.Load(IExecutionContext executionContext, String manifestFile)
Error: Fail to load peter-evans/create-pull-request/v3/action.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions