Skip to content

upload-serif@v1: Unable to override commit_sha #890

Closed
@benmoss

Description

@benmoss

I am trying to have a periodic action that checks for vulnerabilities in the latest release of my repo. The schedule event sets GITHUB_SHA and GITHUB_REF to the latest commit of the default branch, which is not what I want.

I've tried setting these env vars on the step but it seems to have no effect, it still ends up uploading as the latest commit on my default branch. Maybe GitHub doesn't allow these to be overridden. I tried doing a checkout of that tag in a prior step as well and it also had no effect.

If these action just had a commit_sha/ref input that'd be a simple enough workaround.

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