File tree Expand file tree Collapse file tree 3 files changed +2
-2
lines changed
Expand file tree Collapse file tree 3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 55 "repository" ="https://github.com/step-security/repo-sync-pull-request" \
66 "maintainer" ="step-security"
77
8- RUN apk add --no-cache git github-cli bash curl
8+ RUN apk add --no-cache git github-cli bash curl jq
99
1010ADD *.sh /
1111
Original file line number Diff line number Diff line change 6666 image : ' docker://ghcr.io/step-security/repo-sync-pull-request:v2.12.1@sha256:d2871db8601f971f250d0ddb7a4cd64651cfd4e81af9e0c5024bda67f80557ac' # v2.12.1
6767 env :
6868 GITHUB_TOKEN : ${{ inputs.github_token }}
69- REPO_PRIVATE : ${{ github.event.repository.private }}
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ set -o pipefail
77UPSTREAM=" repo-sync/pull-request"
88ACTION_REPO=" ${GITHUB_ACTION_REPOSITORY:- } "
99DOCS_URL=" https://docs.stepsecurity.io/actions/stepsecurity-maintained-actions"
10+ REPO_PRIVATE=$( jq -r ' .repository.private | tostring' " $GITHUB_EVENT_PATH " 2> /dev/null || echo " " )
1011
1112echo " "
1213echo -e " \033[1;36mStepSecurity Maintained Action\033[0m"
You can’t perform that action at this time.
0 commit comments