Update workflow

This commit is contained in:
Francisco Hodge 2021-08-02 12:33:37 -07:00
parent 9073de62d7
commit fe5551156e
3 changed files with 42 additions and 42 deletions

View File

@ -9,6 +9,7 @@ on:
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: contains(github.ref, 'master')
strategy: strategy:
matrix: matrix:
node-version: [12.x] node-version: [12.x]

View File

@ -1,10 +1,11 @@
name: Build PR (Standard) name: Build PR (Standard)
on: [pull_request]
on: pull_request
jobs: jobs:
build: build:
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: ${{ github.actor != 'dependabot[bot]' && !contains(github.event.pull_request.labels.*.name, 'dependencies') }} if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
strategy: strategy:
matrix: matrix:
node-version: [12.x] node-version: [12.x]

View File

@ -1,8 +1,6 @@
name: Build PR (Dependabot) name: Build PR (Dependabot)
on: on: pull_request_target
pull_request_target:
types: [labeled]
jobs: jobs:
build: build: