Skip to content

Commit 16ce308

Browse files
committed
Print if credentialas are configured
Signed-off-by: Jonathan Swartz <jonathan@jswartz.info>
1 parent de4c6c8 commit 16ce308

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/fvdb.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,20 @@ jobs:
3838
linux_gpu:
3939
name: 'ci-openvdb 2024'
4040
# Don't run on forks
41-
if: github.repository == 'AcademySoftwareFoundation/openvdb'
41+
if: github.repository == 'AcademySoftwareFoundation/openvdb' && github.event.pull_request.head.repo.full_name == github.repository
4242
# GH-hosted VM. The build runs in CentOS 7 'container' hard-coded in
4343
# AWS CodeBuild project.
4444
# TODO: Add support for dynamic GH Action defined CodeBuild
4545
# container choice.
4646
runs-on: ubuntu-latest
4747
steps:
48+
- name: Verify AWS Credentials Set
49+
run: |
50+
if [ -z "$AWS_ACCESS_KEY_ID" ] || [ -z "$AWS_SECRET_ACCESS_KEY" ]; then
51+
echo "Error: AWS credentials not properly configured"
52+
exit 1
53+
fi
54+
echo "AWS credentials configured"
4855
- name: Configure AWS Credentials
4956
uses: aws-actions/configure-aws-credentials@v4
5057
with:

0 commit comments

Comments
 (0)