Skip to content

Commit a96ed2b

Browse files
authored
Use "integration" environment for all PR workflows (#9)
* don't set environment for push * make analyze consistent
1 parent bba4b91 commit a96ed2b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/analyze.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ concurrency:
1414

1515
jobs:
1616
analyze:
17+
environment: ${{ github.event_name == 'pull_request_target' && 'integration' || null }}
1718
runs-on: ubuntu-latest
1819
timeout-minutes: 15
1920
steps:

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ concurrency:
1414

1515
jobs:
1616
test:
17-
environment: integration
17+
environment: ${{ github.event_name == 'pull_request_target' && 'integration' || null }}
1818
runs-on: ubuntu-latest
1919
timeout-minutes: 15
2020
steps:

0 commit comments

Comments
 (0)