diff --git a/.github/workflows/on_pr_opened.yaml b/.github/workflows/on_pr_opened.yaml index 3513a5a5e..979313871 100644 --- a/.github/workflows/on_pr_opened.yaml +++ b/.github/workflows/on_pr_opened.yaml @@ -19,6 +19,7 @@ concurrency: jobs: build: name: Build & Push + if: "github.event.pull_request.author_association != 'COLLABORATOR' && github.event.review.author_association != 'OWNER'" environment: name: pr-external url: https://${{ env.ACRONYM }}-dev.apps.silver.devops.gov.bc.ca/pr-${{ github.event.number }} diff --git a/.github/workflows/on_pr_opened_collaborator.yaml b/.github/workflows/on_pr_opened_collaborator.yaml index 10f6c8a44..a58db844c 100644 --- a/.github/workflows/on_pr_opened_collaborator.yaml +++ b/.github/workflows/on_pr_opened_collaborator.yaml @@ -20,6 +20,9 @@ jobs: build: name: Build & Push if: "github.event.pull_request.author_association == 'COLLABORATOR' || github.event.review.author_association == 'OWNER'" + environment: + name: pr + url: https://${{ env.ACRONYM }}-dev.apps.silver.devops.gov.bc.ca/pr-${{ github.event.number }} runs-on: ubuntu-latest timeout-minutes: 10 steps: