ci don't run workflows twice on PRs
This commit is contained in:
1
.github/workflows/arduino.yml
vendored
1
.github/workflows/arduino.yml
vendored
@@ -6,6 +6,7 @@ on:
|
||||
branches: [ master, release/v8.* ]
|
||||
jobs:
|
||||
lint:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
1
.github/workflows/build_micropython.yml
vendored
1
.github/workflows/build_micropython.yml
vendored
@@ -6,6 +6,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
name: Build ${{ matrix.port }} port
|
||||
runs-on: ubuntu-latest
|
||||
continue-on-error: true
|
||||
|
||||
1
.github/workflows/ccpp.yml
vendored
1
.github/workflows/ccpp.yml
vendored
@@ -8,6 +8,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
|
||||
1
.github/workflows/check_conf.yml
vendored
1
.github/workflows/check_conf.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
verify-conf-internal:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
1
.github/workflows/check_style.yml
vendored
1
.github/workflows/check_style.yml
vendored
@@ -5,6 +5,7 @@ on:
|
||||
|
||||
jobs:
|
||||
verify-formatting:
|
||||
if: ${{ github.event_name != 'pull_request' || github.repository != github.event.pull_request.head.repo.full_name }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
|
||||
Reference in New Issue
Block a user