From 242d173eb53266dc0a5d880038352041ba6787a8 Mon Sep 17 00:00:00 2001 From: Bruno Zanchettin Date: Tue, 21 Apr 2026 16:46:09 +0200 Subject: [PATCH] fix: aws credentials action inputs set to optional --- README.md | 20 ++++++++++---------- action.yml | 4 ++-- restore/action.yml | 4 ++-- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 7e60b71..ca6d58c 100644 --- a/README.md +++ b/README.md @@ -24,8 +24,8 @@ jobs: with: endpoint: play.min.io # optional, default s3.amazonaws.com insecure: false # optional, use http instead of https. default false - accessKey: "Q3AM3UQ867SPQQA43P2F" # required - secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # required + accessKey: "Q3AM3UQ867SPQQA43P2F" # optional + secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # optional sessionToken: "AQoDYXdzEJraDcqRtz123" # optional bucket: actions-cache # required use-fallback: true # optional, use github actions cache fallback, default true @@ -64,8 +64,8 @@ To write to the cache only: ```yaml - uses: tespkg/actions-cache/save@v1 with: - accessKey: "Q3AM3UQ867SPQQA43P2F" # required - secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # required + accessKey: "Q3AM3UQ867SPQQA43P2F" # optional + secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # optional bucket: actions-cache # required # actions/cache compatible properties: https://github.com/actions/cache key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -78,8 +78,8 @@ To restore from the cache only: ```yaml - uses: tespkg/actions-cache/restore@v1 with: - accessKey: "Q3AM3UQ867SPQQA43P2F" # required - secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # required + accessKey: "Q3AM3UQ867SPQQA43P2F" # optional + secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # optional bucket: actions-cache # required # actions/cache compatible properties: https://github.com/actions/cache key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -94,8 +94,8 @@ To check if cache hits and size is not zero without downloading: id: cache uses: tespkg/actions-cache/check@v1 with: - accessKey: "Q3AM3UQ867SPQQA43P2F" # required - secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # required + accessKey: "Q3AM3UQ867SPQQA43P2F" # optional + secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # optional bucket: actions-cache # required lookup-only: true key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} @@ -130,8 +130,8 @@ To restore from the cache using a `restore-key` prefix if the `key` restore fail ```yaml - uses: tespkg/actions-cache/restore@v1 with: - accessKey: "Q3AM3UQ867SPQQA43P2F" # required - secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # required + accessKey: "Q3AM3UQ867SPQQA43P2F" # optional + secretKey: "zuf+tfteSlswRu7BJ86wekitnifILbZam1KYY3TG" # optional bucket: actions-cache # required # actions/cache compatible properties: https://github.com/actions/cache key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} diff --git a/action.yml b/action.yml index 52970b9..340a7aa 100644 --- a/action.yml +++ b/action.yml @@ -17,10 +17,10 @@ inputs: required: false accessKey: description: s3 / minio accessKey - required: true + required: false secretKey: description: s3 / minio secretKey - required: true + required: false sessionToken: description: s3 session token - required when using role required: false diff --git a/restore/action.yml b/restore/action.yml index cab1716..167bfe2 100644 --- a/restore/action.yml +++ b/restore/action.yml @@ -17,10 +17,10 @@ inputs: required: false accessKey: description: s3 / minio accessKey - required: true + required: false secretKey: description: s3 / minio secretKey - required: true + required: false sessionToken: description: s3 session token - required when using role required: false