Fix actor condition
This commit is contained in:
parent
2207d79f62
commit
65450fc79b
1 changed files with 1 additions and 5 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -9,17 +9,13 @@ concurrency:
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
if: ${{ !(github.actor == 'renovate' && github.event_name == 'pull_request') }}
|
if: ${{ !(github.actor == 'renovate[bot]' && github.event_name == 'pull_request') }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '16'
|
node-version: '16'
|
||||||
- run: |
|
|
||||||
echo "actor: ${{ github.actor }}"
|
|
||||||
echo "event_name: ${{ github.event_name }}"
|
|
||||||
echo "result: ${{ !('renovate' == 'renovate' && 'pull_request' == 'pull_request') }}"
|
|
||||||
- run: yarn --frozen-lockfile
|
- run: yarn --frozen-lockfile
|
||||||
- run: yarn test
|
- run: yarn test
|
||||||
- run: yarn lint
|
- run: yarn lint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue