[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: on:
pull_request: pull_request:
paths-ignore: paths:
- '**.md' - '**'
- '.github/workflows/issue_moderator.yml' - '!**.md'
- '!.github/**'
- '.github/workflows/build_pull_request.yml'
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} group: ${{ github.workflow }}-${{ github.event.pull_request.number }}

View File

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