mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-04-26 15:50:12 +08:00
Update workflow
This commit is contained in:
parent
9073de62d7
commit
fe5551156e
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@ -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]
|
||||||
|
5
.github/workflows/pull_request.yml
vendored
5
.github/workflows/pull_request.yml
vendored
@ -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]
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user