From a6702a0a3a3a4bd36a86a6a046b3a6a0d489fbd0 Mon Sep 17 00:00:00 2001 From: Callum Morris Date: Mon, 5 Aug 2024 10:58:51 +1200 Subject: [PATCH] fix: allow complete set of allowed characters Reference: https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html --- .github/workflows/reusable-copy-to-s3.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-copy-to-s3.yml b/.github/workflows/reusable-copy-to-s3.yml index 324a583..166f857 100644 --- a/.github/workflows/reusable-copy-to-s3.yml +++ b/.github/workflows/reusable-copy-to-s3.yml @@ -81,7 +81,7 @@ jobs: echo "session-name=$SESSION_NAME" >> $GITHUB_OUTPUT - name: validate env: - REGEXP_S3_BUCKET: ^s3://[a-zA-Z0-9_/.-]+$ + REGEXP_S3_BUCKET: ^s3://[a-zA-Z0-9!-_.*'()/]+$ CP_OR_SYNC: ${{ inputs.cp-or-sync }} S3_BUCKET: ${{ inputs.s3-bucket }} DIRECTION: ${{ inputs.direction }}