Update CI to ignore allcontributors commits (#7046)

This commit is contained in:
psf 2025-06-02 06:41:05 -07:00 committed by GitHub
parent d33651bfd0
commit 7263bb1886
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 19 additions and 2 deletions

View File

@ -259,6 +259,5 @@
],
"contributorsPerLine": 7,
"linkToUsage": true,
"commitType": "docs",
"skipCi": true
"commitType": "docs"
}

View File

@ -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

View File

@ -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