Skip to content

Commit

Permalink
chore: Use continuous-integration environment for private submodule a…
Browse files Browse the repository at this point in the history
…ccess (#714)

Co-authored-by: Robin Salkeld <salkeldr@amazon.com>
  • Loading branch information
alex-chew and robin-aws authored Jun 15, 2021
1 parent 1751e02 commit 7619133
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/osx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on: ["pull_request", "push"]
jobs:
OSX:
runs-on: ${{ matrix.os }}
environment: continuous-integration

strategy:
matrix:
Expand All @@ -20,6 +21,14 @@ jobs:
uses: actions/checkout@v2
with:
submodules: recursive
if: ${{ github.repository == 'aws/aws-encryption-sdk-c' }}

- name: Checkout PR with CI bot token
uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ secrets.CI_BOT_TOKEN }}
if: ${{ github.repository == 'aws/private-aws-encryption-sdk-c-staging' }}

- name: Checkout AWS C++ SDK
uses: actions/checkout@v2
Expand Down

0 comments on commit 7619133

Please sign in to comment.