[skip ci] Update path conditions in PR and CI workflows (#863)

This commit is contained in:
stevenyomi 2024-02-01 01:22:08 +08:00 committed by GitHub
parent e64519d783
commit d1d3b8a51a
2 changed files with 11 additions and 6 deletions

View File

@ -2,9 +2,11 @@ name: PR build check
on:
pull_request:
paths-ignore:
- '**.md'
- '.github/workflows/issue_moderator.yml'
paths:
- '**'
- '!**.md'
- '!.github/**'
- '.github/workflows/build_pull_request.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}

View File

@ -4,9 +4,12 @@ on:
push:
branches:
- main
paths-ignore:
- '**.md'
- '.github/workflows/issue_moderator.yml'
paths:
- '**'
- '!**.md'
- '!.github/**'
- '.github/scripts/**'
- '.github/workflows/build_push.yml'
concurrency:
group: ${{ github.workflow }}