mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-27 18:52:14 +03: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
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…
Reference in New Issue
Block a user