Skip to content

Commit

Permalink
Run forked test only on labeled PRs (#1097)
Browse files Browse the repository at this point in the history
  • Loading branch information
josvazg authored Aug 17, 2023
1 parent c408731 commit adc58c2
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/test-forked.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Test Forked

on:
pull_request_target:
types: [labeled, opened, synchronize, reopened, ready_for_review, converted_to_draft]
types: [labeled]
paths-ignore:
- 'docs/**'

Expand All @@ -29,9 +29,7 @@ jobs:
- lint
- unit-tests
- paths-filter
if: |
github.event.pull_request.draft == false &&
needs.paths-filter.outputs.production-code-changed == 'true'
if: needs.paths-filter.outputs.production-code-changed == 'true'
uses: ./.github/workflows/cloud-tests-forked.yml
secrets: inherit
with:
Expand Down

0 comments on commit adc58c2

Please sign in to comment.