diff --git a/.github/workflows/build_pull_request.yml b/.github/workflows/build_pull_request.yml index 2a3d68446..618cd5301 100644 --- a/.github/workflows/build_pull_request.yml +++ b/.github/workflows/build_pull_request.yml @@ -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 }} diff --git a/.github/workflows/build_push.yml b/.github/workflows/build_push.yml index 2e954f52c..91c21e10b 100644 --- a/.github/workflows/build_push.yml +++ b/.github/workflows/build_push.yml @@ -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 }}