Skip to content

Commit 0a76b97

Browse files
committed
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.
1 parent f8b607e commit 0a76b97

File tree

3 files changed

+43
-10
lines changed

3 files changed

+43
-10
lines changed

lib/actions-util.js

+21-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)