GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — upload-serif@v1: Unable to override commit_sha · Issue #890 · github/codeql-action

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

New issue
Copy link
New issue
Copy link
Closed
Closed
upload-serif@v1: Unable to override commit_sha#890
Copy link

Description

@benmoss
benmoss
opened on Jan 27, 2022
Issue body actions

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.

Activity

  1. aeisenberg commented on Jan 27, 2022

    @aeisenberg
    aeisenberg
    on Jan 27, 2022
    Contributor
    More actions

    Possibly related to #889.

    Reacted by Ben Moss
  2. benmoss commented on Jan 27, 2022

    @benmoss
    benmoss
    on Jan 27, 2022
    Author
    More actions

    Possibly related to #889.

    Nice, I think that exactly fixes my issue if I'm reading it correctly

  3. aeisenberg commented on Mar 11, 2022

    @aeisenberg
    aeisenberg
    on Mar 11, 2022
    Contributor
    More actions

    The fix for this has been merged. Please comment here if you still have the problem.

    Reacted by Ben Moss
  4. aeisenberg
    closed this as completedon Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.