From d7d961c440d95119570499c87b672847be3fa9f0 Mon Sep 17 00:00:00 2001 From: David Barroso Date: Fri, 1 Mar 2024 08:57:07 +0100 Subject: [PATCH] chore: fix role to assume in gen update dependencies --- .github/workflows/gen_schedule_update_deps.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/gen_schedule_update_deps.yaml b/.github/workflows/gen_schedule_update_deps.yaml index c45e8f7ab..682df3c4d 100644 --- a/.github/workflows/gen_schedule_update_deps.yaml +++ b/.github/workflows/gen_schedule_update_deps.yaml @@ -1,6 +1,7 @@ --- name: "gen: update depenendencies" on: + push: schedule: - cron: '0 2 1 * *' @@ -22,7 +23,7 @@ jobs: - name: Configure aws uses: aws-actions/configure-aws-credentials@v4 with: - role-to-assume: arn:aws:iam::${{ secrets.AWS_PRODUCTION_CORE_ACCOUNT_ID }}:role/github-actions-nhost-be + role-to-assume: arn:aws:iam::${{ secrets.AWS_PRODUCTION_CORE_ACCOUNT_ID }}:role/github-actions-nhost-${{ github.event.repository.name }} aws-region: eu-central-1 - uses: nixbuild/nix-quick-install-action@v26