diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 596632264..da05a7811 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -13,10 +13,10 @@ name: "CodeQL" on: push: - branches: [master] + branches: [main] pull_request: # The branches below must be a subset of the branches above - branches: [master] + branches: [main] schedule: - cron: "27 2 * * 2" diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 229496591..340f658b6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,5 +1,7 @@ name: coverage -on: [push] +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] jobs: linux-coverage: name: linux diff --git a/.github/workflows/darwin.yml b/.github/workflows/darwin.yml index 48eae5b1f..3c9ac30ca 100644 --- a/.github/workflows/darwin.yml +++ b/.github/workflows/darwin.yml @@ -1,5 +1,9 @@ name: darwin -on: [push, pull_request] +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + pull_request: + paths-ignore: ["docs/**", "**.adoc", "**.md"] jobs: build: name: build diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index a9f7db508..ca7ef4330 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -1,5 +1,9 @@ name: linux -on: [push, pull_request] +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + pull_request: + paths-ignore: ["docs/**", "**.adoc", "**.md"] jobs: build: strategy: diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 924162480..06092f1af 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -4,7 +4,13 @@ on: push: branches: - main + paths: + - "docs/**" + - ".github/workflows/mdbook.yml" pull_request: + paths: + - "docs/**" + - ".github/workflows/mdbook.yml" jobs: deploy: diff --git a/.github/workflows/sanitizer.yml b/.github/workflows/sanitizer.yml index e0d9c579d..f7c37be39 100644 --- a/.github/workflows/sanitizer.yml +++ b/.github/workflows/sanitizer.yml @@ -1,5 +1,9 @@ name: sanitize -on: [push, pull_request] +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + pull_request: + paths-ignore: ["docs/**", "**.adoc", "**.md"] jobs: sanitize: env: @@ -9,8 +13,8 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - sanitizer: [ address, undefined, thread ] - os: [ ubuntu-latest ] + sanitizer: [address, undefined, thread] + os: [ubuntu-latest] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index af1cb74aa..3c7444aa9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -1,5 +1,9 @@ name: windows -on: [push, pull_request] +on: + push: + paths-ignore: ["docs/**", "**.adoc", "**.md"] + pull_request: + paths-ignore: ["docs/**", "**.adoc", "**.md"] jobs: build: name: build