Skip to content

Commit

Permalink
fix: configure aws creds in sync submodules/deps action (#518)
Browse files Browse the repository at this point in the history
Issue #, if available:

*Description of changes:*

#511 removed the duplicate action in finch/finch-core for updating deps;
however, now need AWS creds in this action for the dependency updates.

*Testing done:*

- [x] I've reviewed the guidance in CONTRIBUTING.md


#### License Acceptance

By submitting this pull request, I confirm that my contribution is made
under the terms of the Apache 2.0 license.

Signed-off-by: Gavin Inglis <[email protected]>
  • Loading branch information
ginglis13 authored Aug 4, 2023
1 parent d603096 commit b67452e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/sync-submodules-and-deps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,13 @@ jobs:
submodules: recursive
token: ${{ secrets.GITHUB_TOKEN }}

- name: configure aws credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: ${{ secrets.REGION }}
role-to-assume: ${{ secrets.ROLE }}
role-session-name: sync-submodules-and-deps-session

- name: Update submodules
run: |
git submodule update --remote
Expand Down

0 comments on commit b67452e

Please sign in to comment.