Skip to content

Commit

Permalink
Add envs to workflow (#1035)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolodziejczak authored Sep 25, 2024
1 parent 42ba490 commit 647ffa8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/pull-request-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 647ffa8

Please sign in to comment.