2
1
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2023-12-13 21:00:40 +01: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:
Daniel Lockyer 2020-03-25 16:18:03 +00:00
parent 037db39b84
commit 58aff29938

View file

@ -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')