Skip to content

Commit

Permalink
fix(ci): don't try to provision an AWS account if we lack permissions (
Browse files Browse the repository at this point in the history
  • Loading branch information
obs-gh-colinhutchinson authored Nov 17, 2023
1 parent 2b180c8 commit 775011d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
build:
runs-on: ubuntu-latest
needs: permission_check
outputs:
image_name: ${{ steps.set_output_image_name.outputs.image_name }}

Expand Down Expand Up @@ -127,6 +128,7 @@ jobs:
cache-to: type=gha,mode=max

- name: Provision DCE
if: needs.permission_check.outputs.can-write == 'true'
uses: observeinc/[email protected]
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down

0 comments on commit 775011d

Please sign in to comment.