Skip to content

Consider using gh instead of REST API? #5

@jcbhmr

Description

@jcbhmr

The gh CLI is available on all of the runner images! https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners#preinstalled-software That means you can just do:

gh pr close "$PR" -c "$INPUT_MESSAGE"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions