diff --git a/.github/workflows/linux-old.yml b/.github/workflows/linux-old.yml index 5b8f92f03b..99d7a7da77 100644 --- a/.github/workflows/linux-old.yml +++ b/.github/workflows/linux-old.yml @@ -23,7 +23,7 @@ name: 'Old Linux' branches: - master - '*/ci' - paths-ignore: + paths-ignore: &shared_paths - '**/*.md' - '.circleci/**' - 'appveyor.*' @@ -35,15 +35,7 @@ name: 'Old Linux' pull_request: branches: - master - paths-ignore: - - '**/*.md' - - '.circleci/**' - - 'appveyor.*' - - 'Dockerfile' - - 'packages/**' - - 'plan9/**' - - 'projects/**' - - 'winbuild/**' + paths-ignore: *shared_paths permissions: {} diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index be0468ff8d..a38156e371 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -9,7 +9,7 @@ name: 'Linux' branches: - master - '*/ci' - paths-ignore: + paths-ignore: &shared_paths - '**/*.md' - '.circleci/**' - 'appveyor.*' @@ -21,15 +21,7 @@ name: 'Linux' pull_request: branches: - master - paths-ignore: - - '**/*.md' - - '.circleci/**' - - 'appveyor.*' - - 'Dockerfile' - - 'packages/**' - - 'plan9/**' - - 'projects/**' - - 'winbuild/**' + paths-ignore: *shared_paths concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index cdb6de2834..dc364628e6 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -9,7 +9,7 @@ name: 'macOS' branches: - master - '*/ci' - paths-ignore: + paths-ignore: &shared_paths - '**/*.md' - '.circleci/**' - 'appveyor.*' @@ -21,15 +21,7 @@ name: 'macOS' pull_request: branches: - master - paths-ignore: - - '**/*.md' - - '.circleci/**' - - 'appveyor.*' - - 'Dockerfile' - - 'packages/**' - - 'plan9/**' - - 'projects/**' - - 'winbuild/**' + paths-ignore: *shared_paths concurrency: group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}