mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-04 02:01:58 -05:00
Switched to native conditional for labels in PRs
no issue - removes the need for an external Action by checking natively
This commit is contained in:
parent
037db39b84
commit
58aff29938
1 changed files with 1 additions and 7 deletions
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
@ -38,15 +38,9 @@ jobs:
|
|||
mysql database: 'ghost_testing'
|
||||
mysql root password: 'root'
|
||||
|
||||
- uses: Dreamcodeio/pr-has-label-action@v1.2
|
||||
id: allTestsLabel
|
||||
if: github.event_name == 'pull_request'
|
||||
with:
|
||||
label: all-tests
|
||||
|
||||
- run: yarn
|
||||
- run: yarn lint
|
||||
- run: grunt test-acceptance --verbose
|
||||
- run: grunt test-unit --verbose
|
||||
- run: grunt test-regression --verbose
|
||||
if: startsWith(github.head_ref, 'renovate/') || github.event_name != 'pull_request' || steps.allTestsLabel.outputs.hasLabel
|
||||
if: startsWith(github.head_ref, 'renovate/') || github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'all-tests')
|
||||
|
|
Loading…
Add table
Reference in a new issue