Update CI to ignore allcontributors commits (#7046)
This commit is contained in:
parent
d33651bfd0
commit
7263bb1886
@ -259,6 +259,5 @@
|
||||
],
|
||||
"contributorsPerLine": 7,
|
||||
"linkToUsage": true,
|
||||
"commitType": "docs",
|
||||
"skipCi": true
|
||||
"commitType": "docs"
|
||||
}
|
||||
|
||||
9
.github/workflows/build.yml
vendored
9
.github/workflows/build.yml
vendored
@ -9,6 +9,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: github.actor != 'allcontributors'
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GAME_VERSION: EMERALD
|
||||
@ -36,3 +37,11 @@ jobs:
|
||||
TEST: 1
|
||||
run: |
|
||||
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:
|
||||
label:
|
||||
if: github.actor != 'allcontributors'
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: check labels
|
||||
@ -27,3 +28,11 @@ jobs:
|
||||
category: pokemon
|
||||
category: sprite-issue
|
||||
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