From 5f53c8f407a53f662a8708cb8983ea77cc23ea63 Mon Sep 17 00:00:00 2001 From: Francisco Wesley Date: Tue, 1 Oct 2024 00:05:01 -0300 Subject: [PATCH] hotfix/(workflows): change reference branch in the actions --- .github/workflows/deploy-project.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-project.yaml b/.github/workflows/deploy-project.yaml index e607ad7..a80d0d3 100644 --- a/.github/workflows/deploy-project.yaml +++ b/.github/workflows/deploy-project.yaml @@ -15,7 +15,7 @@ permissions: jobs: create-ecr: if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' - uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-elastic-container-registry.yml@feat/adds-news-workflows + uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-elastic-container-registry.yml@main secrets: AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} AWS_REGION: ${{ secrets.AWS_REGION }} @@ -30,7 +30,7 @@ jobs: build-push: needs: create-ecr if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' - uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/build-image-and-push.yml@feat/adds-news-workflows + uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/build-image-and-push.yml@main secrets: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -41,7 +41,7 @@ jobs: trivy-scan: needs: build-push if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' - uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/trivy-scan.yml@feat/adds-news-workflows + uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/trivy-scan.yml@main secrets: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} @@ -51,7 +51,7 @@ jobs: deploy: needs: trivy-scan if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' - uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-lambda-aws.yml@feat/adds-news-workflows + uses: team-tech-challenge/terraform-reusable-actions/.github/workflows/create-lambda-aws.yml@main with: environment: 'production' secrets: