[skip ci] Ignore issue moderator and md changes in PR CI (#15195)

* Ignore some changes in PR builds

* Ignore only issue moderator instead of .github
This commit is contained in:
scb261 2023-01-31 16:25:09 +02:00 committed by GitHub
parent c4cc2d3e8b
commit 91bba235bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -4,6 +4,7 @@ on:
pull_request:
paths-ignore:
- '**.md'
- '.github/workflows/issue_moderator.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
@ -50,6 +51,10 @@ jobs:
isIndividualChanged=1
elif [[ ${changedFile} == multisrc/* ]]; then
isMultisrcChanged=1
elif [[ ${changedFile} == .github/workflows/issue_moderator.yml ]]; then
true
elif [[ ${changedFile} == *.md ]]; then
true
else
isIndividualChanged=1
isMultisrcChanged=1