We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fcdce0 commit f83facaCopy full SHA for f83faca
circle_ci/codeql_analysis_pr.yml
@@ -36,6 +36,10 @@ jobs:
36
https://api.github.com/repos/${REPO_PATH}/pulls/${PR_NUMBER} \
37
| jq -r .base.ref)
38
REF=refs/pull/${PR_NUMBER}/merge
39
+ else
40
+ echo "Running in a non-pull request context"
41
+ BASE_REF=$CIRCLE_BRANCH
42
+ REF="HEAD^"
43
fi
44
printenv
45
curl -s -H "Authorization: token $GITHUB_TOKEN" https://api.github.com/user
0 commit comments