File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ export SCORECARD_POLICY_FILE="/policy.yml" # Copied at docker image creation.
30
30
export SCORECARD_RESULTS_FILE=" $INPUT_RESULTS_FILE "
31
31
export SCORECARD_RESULTS_FORMAT=" $INPUT_RESULTS_FORMAT "
32
32
export SCORECARD_PUBLISH_RESULTS=" $INPUT_PUBLISH_RESULTS "
33
- export SCORECARD_IS_FORK=" $( jq ' .repository.fork' $GITHUB_EVENT_PATH ) "
34
33
export SCORECARD_BIN=" /scorecard"
35
34
export ENABLED_CHECKS=
36
35
@@ -51,6 +50,7 @@ export ENABLED_CHECKS=
51
50
curl -s -H " Authorization: Bearer $GITHUB_AUTH_TOKEN " https://api.github.com/repos/$GITHUB_REPOSITORY > repo_info.json
52
51
export SCORECARD_PRIVATE_REPOSITORY=" $( cat repo_info.json | jq -r ' .private' ) "
53
52
export SCORECARD_DEFAULT_BRANCH=" refs/heads/$( cat repo_info.json | jq -r ' .default_branch' ) "
53
+ export SCORECARD_IS_FORK=" $( cat repo_info.json | jq -r ' .fork' ) "
54
54
rm repo_info.json
55
55
56
56
# If the repository is private, never publish the results.
You can’t perform that action at this time.
0 commit comments