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 database: 'ghost_testing'
mysql root password: 'root' 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
- run: yarn lint - run: yarn lint
- run: grunt test-acceptance --verbose - run: grunt test-acceptance --verbose
- run: grunt test-unit --verbose - run: grunt test-unit --verbose
- run: grunt test-regression --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')