File tree Expand file tree Collapse file tree
.github/actions/code-sign Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,9 +25,9 @@ inputs:
2525 required : false
2626 default : " code-signer"
2727 key-prefix :
28- description : " S3 key prefix the caller is authorized to write under "
28+ description : " S3 key prefix to write under; defaults to code-signing/<owner>/<repo> of the calling repo "
2929 required : false
30- default : " code-signing/slackhq/nebula "
30+ default : " "
3131
3232runs :
3333 using : composite
5757 KEY_PREFIX : ${{ inputs.key-prefix }}
5858 run : |
5959 set -eu
60+ # Default the prefix to this repo so the S3 key attributes the sign correctly.
61+ # nebula-nightly runs this same action but writes under its own repo's prefix.
62+ KEY_PREFIX="${KEY_PREFIX:-code-signing/$GITHUB_REPOSITORY}"
6063 RUN="${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT}"
6164
6265 find "$SIGN_PATH" -name '*.exe' -print | while read -r path
You can’t perform that action at this time.
0 commit comments