From 20d8c279f2c2bd9b4d331cdcbb462b17803ef566 Mon Sep 17 00:00:00 2001 From: Gustavo Cunha Date: Wed, 18 Oct 2023 01:54:48 +0200 Subject: [PATCH] Fix pipeline reference --- .github/workflows/deploy.yml | 4 ++-- .github/workflows/pull_request.yml | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 5fa0a2788..c92db206c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,14 +12,14 @@ on: jobs: build_production: name: 'Build: Production' - uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{GITHUB_SHA}} secrets: inherit with: target: production build_development: name: 'Build: Development' - uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@$GITHUB_SHA secrets: inherit with: target: development diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 5bdebe2c1..938614ab2 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -6,52 +6,52 @@ on: jobs: build: name: Test - uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{ GITHUB_SHA }} secrets: inherit cypress: name: Cypress - uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/docker.yml@${{ GITHUB_SHA }} secrets: inherit with: target: cypress rubocop: name: Rubocop - uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }} with: command: bundle exec rubocop --config .rubocop.yml . needs: build reek: name: Reek - uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }} with: command: bundle exec reek --config .reek.yml . needs: build brakeman: name: Brakeman - uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }} with: command: bundle exec brakeman needs: build scsslint: name: SCSSLint - uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/lint.yml@${{ GITHUB_SHA }} with: command: bundle exec scss-lint --config .scss-lint.yml needs: build tests: name: Backend - uses: gmmcal/gmmcal.com.br/.github/workflows/tests.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/tests.yml@${{ GITHUB_SHA }} needs: build e2e-admin: name: Admin - uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@${{ GITHUB_SHA }} with: pattern: spec/end-to-end/tests/admin/**.js artifact-name: cypress-screenshots-backend @@ -59,7 +59,7 @@ jobs: e2e-frontend: name: Frontend - uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@reusable + uses: gmmcal/gmmcal.com.br/.github/workflows/cypress.yml@${{ GITHUB_SHA }} with: pattern: spec/end-to-end/tests/frontend/**.js artifact-name: cypress-screenshots-frontend