Skip to content

Commit c6b577a

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

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

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

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ jobs:
3737
- name: Checkout
3838
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3939

40-
- name: Check secrets
41-
env:
42-
INPUT_ALLOWED_SECRETS: ${{ vars.DOTCOM_ACCEPTANCE_TESTS_ALLOWED_SECRETS || 'DOTCOM_TEST_USER_TOKEN' }}
43-
INPUT_SECRETS: ${{ toJSON(secrets) }}
44-
run: |
45-
set -eou pipefail
40+
# - name: Check secrets
41+
# env:
42+
# INPUT_ALLOWED_SECRETS: ${{ vars.DOTCOM_ACCEPTANCE_TESTS_ALLOWED_SECRETS || 'DOTCOM_TEST_USER_TOKEN' }}
43+
# INPUT_SECRETS: ${{ toJSON(secrets) }}
44+
# run: |
45+
# set -eou pipefail
4646

47-
secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
48-
if [[ "${secret_keys}" != "${INPUT_ALLOWED_SECRETS}" ]]; then
49-
echo "::error::Too many or too few secrets configured: ${secret_keys}"
50-
exit 1
51-
fi
47+
# secret_keys="$(jq --raw-output --compact-output '[. | keys[] | select(test("^(?:(?:ACTIONS)|(?:actions)|(?:GITHUB)|(?:github)|(?:TEST)|(?:test))_") | not)] | sort | join(",")' <<<"${INPUT_SECRETS}")"
48+
# if [[ "${secret_keys}" != "${INPUT_ALLOWED_SECRETS}" ]]; then
49+
# echo "::error::Too many or too few secrets configured: ${secret_keys}"
50+
# exit 1
51+
# fi
5252

5353
- name: Check credentials
5454
id: credentials

.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)