Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer GITHUB_REF to CODE_SCANNING_REF #1372

Merged
merged 1 commit into from
Nov 16, 2022

Commits on Nov 16, 2022

  1. Prefer GITHUB_REF to CODE_SCANNING_REF

    Given that the GITHUB_REF is a protected variable, we want to prefer it to
    CODE_SCANNING_REF. This should prevent accidentally overwriting these values.
    The logic is a bit more involved, as I think it makes sense to raise the error
    about GITHUB_REF not being set, rather than mentioning CODE_SCANNING_REF if
    both are not set.
    marcogario committed Nov 16, 2022
    Configuration menu
    Copy the full SHA
    0a76b97 View commit details
    Browse the repository at this point in the history