From 67252acf9bdfc84ae2239551f6ecb855f4b7dfcd Mon Sep 17 00:00:00 2001 From: zethson Date: Fri, 15 Nov 2024 11:00:37 +0100 Subject: [PATCH] :bug: Only configure AWS credentials if not from fork Signed-off-by: zethson --- .github/workflows/build.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b081427..3b738fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,6 +49,7 @@ jobs: uv pip install --system ipywidgets - uses: aws-actions/configure-aws-credentials@v4 + if: ${{ github.event.pull_request.head.repo.full_name == github.repository }} with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}