Skip to content

Commit da42359

Browse files
committed
aaa
Signed-off-by: Steve Hipwell <[email protected]>
1 parent a5dc46e commit da42359

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/dotcom-acceptance-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
run: |
4545
set -eou pipefail
4646
47-
secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
47+
secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:ACTIONS)|(?:actions)|(?:GITHUB)|(?:github)|(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
4848
if [[ "${secret_keys}" != "${INPUT_ALLOWED_SECRETS}" ]]; then
4949
echo "::error::Too many or too few secrets configured: ${secret_keys}"
5050
exit 1

.github/workflows/ghes-acceptance-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
run: |
3737
set -eou pipefail
3838
39-
secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
39+
secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:ACTIONS)|(?:actions)|(?:GITHUB)|(?:github)|(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
4040
if [[ "${secret_keys}" != "${INPUT_ALLOWED_SECRETS}" ]]; then
4141
echo "::error::Too many or too few secrets configured: ${secret_keys}"
4242
exit 1

0 commit comments

Comments
 (0)