Update CI to ignore allcontributors commits (#7046)
This commit is contained in:
parent
d33651bfd0
commit
7263bb1886
@ -259,6 +259,5 @@
|
|||||||
],
|
],
|
||||||
"contributorsPerLine": 7,
|
"contributorsPerLine": 7,
|
||||||
"linkToUsage": true,
|
"linkToUsage": true,
|
||||||
"commitType": "docs",
|
"commitType": "docs"
|
||||||
"skipCi": true
|
|
||||||
}
|
}
|
||||||
|
|||||||
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -9,6 +9,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
if: github.actor != 'allcontributors'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
GAME_VERSION: EMERALD
|
GAME_VERSION: EMERALD
|
||||||
@ -36,3 +37,11 @@ jobs:
|
|||||||
TEST: 1
|
TEST: 1
|
||||||
run: |
|
run: |
|
||||||
make -j${nproc} check
|
make -j${nproc} check
|
||||||
|
allcontributors:
|
||||||
|
if: github.actor == 'allcontributors'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: []
|
||||||
|
steps:
|
||||||
|
- name: Automatically pass for allcontributors
|
||||||
|
run: echo "CI automatically passes for allcontributors" && exit 0
|
||||||
|
|
||||||
|
|||||||
9
.github/workflows/labels.yml
vendored
9
.github/workflows/labels.yml
vendored
@ -6,6 +6,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
label:
|
label:
|
||||||
|
if: github.actor != 'allcontributors'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: check labels
|
- name: check labels
|
||||||
@ -27,3 +28,11 @@ jobs:
|
|||||||
category: pokemon
|
category: pokemon
|
||||||
category: sprite-issue
|
category: sprite-issue
|
||||||
type: documentation
|
type: documentation
|
||||||
|
allcontributors:
|
||||||
|
if: github.actor == 'allcontributors'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: []
|
||||||
|
steps:
|
||||||
|
- name: Automatically pass for allcontributors
|
||||||
|
run: echo "CI automatically passes for allcontributors" && exit 0
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user