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, "contributorsPerLine": 7,
"linkToUsage": true, "linkToUsage": true,
"commitType": "docs", "commitType": "docs"
"skipCi": true
} }

View File

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

View File

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