From c20fdfefb7719db4074852fc52d2b3817b17a68d Mon Sep 17 00:00:00 2001 From: Marek Kolodziejczak Date: Wed, 25 Sep 2024 15:42:01 +0200 Subject: [PATCH] Add envs to workflow --- .github/workflows/pull-request-release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/pull-request-release.yaml b/.github/workflows/pull-request-release.yaml index c449128e7..522f50aab 100644 --- a/.github/workflows/pull-request-release.yaml +++ b/.github/workflows/pull-request-release.yaml @@ -42,6 +42,7 @@ jobs: outputs: check: ${{ steps.changed-files.outputs.any_modified }} name: Check whether unit test & lint should run based on the changed files + environment: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && 'restricted' || 'internal' }} if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: @@ -70,6 +71,7 @@ jobs: outputs: check: ${{ steps.changed-files.outputs.any_modified }} name: Check whether integration tests should run based on the changed files + environment: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && 'restricted' || 'internal' }} if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: @@ -104,6 +106,7 @@ jobs: outputs: check: ${{ steps.changed-files.outputs.any_modified }} name: Check whether UI tests should run based on the changed files + environment: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && 'restricted' || 'internal' }} if: github.event.pull_request.draft == false runs-on: ubuntu-latest steps: @@ -129,6 +132,7 @@ jobs: outputs: check: ${{ steps.changed-files.outputs.any_modified }} name: Check whether to run verify-commit-pins + environment: ${{ github.event.pull_request.author_association != 'COLLABORATOR' && github.event.pull_request.author_association != 'OWNER' && 'restricted' || 'internal' }} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4