mirror of
https://github.com/pezkuwichain/revive.git
synced 2026-06-18 16:21:04 +00:00
Update workflows to skip tests for only .md files (#371)
When updating documentation Markdown files, long-running tests still run unnecessarily. With these changes, it will skip running test workflows when PRs only containing changes to such files are opened. Co-authored-by: xermicus <cyrill@parity.io>
This commit is contained in:
@@ -7,6 +7,8 @@ on:
|
|||||||
- 'LLVM.lock'
|
- 'LLVM.lock'
|
||||||
- 'crates/llvm-builder/**'
|
- 'crates/llvm-builder/**'
|
||||||
- '.github/workflows/test-llvm-builder.yml'
|
- '.github/workflows/test-llvm-builder.yml'
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|||||||
@@ -2,9 +2,13 @@ name: Test Wasm Version
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|||||||
@@ -2,9 +2,13 @@ name: Test
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
types: [opened, synchronize]
|
types: [opened, synchronize]
|
||||||
|
paths-ignore:
|
||||||
|
- "**.md"
|
||||||
|
|
||||||
concurrency:
|
concurrency:
|
||||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||||
|
|||||||
Reference in New Issue
Block a user