mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
Do not run regress workflows on benign changes
If only documentation is changed, the full regression check workflow will still be executed, so this commit will instead skip running the regression workflows if there are only changes to files that will not affect the success of the workflow.
This commit is contained in:
parent
396bc6def7
commit
f36db10826
@ -4,7 +4,15 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- prerelease_test
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
jobs:
|
||||
config:
|
||||
runs-on: ubuntu-latest
|
||||
|
23
.github/workflows/linux-build-and-test-ignored.yaml
vendored
Normal file
23
.github/workflows/linux-build-and-test-ignored.yaml
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
# Ignoring version of the corresponding workflow. These files are
|
||||
# needed to run required workflows even when the real workflow is not
|
||||
# executed because some files were ignored.
|
||||
name: Regression
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- prerelease_test
|
||||
paths:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
jobs:
|
||||
regress:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
echo "No build required"
|
8
.github/workflows/linux-build-and-test.yaml
vendored
8
.github/workflows/linux-build-and-test.yaml
vendored
@ -11,7 +11,15 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- prerelease_test
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
jobs:
|
||||
matrixbuilder:
|
||||
runs-on: ubuntu-latest
|
||||
|
22
.github/workflows/shellcheck-ignored.yaml
vendored
Normal file
22
.github/workflows/shellcheck-ignored.yaml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
# Ignoring version of the corresponding workflow. These files are
|
||||
# needed to run required workflows even when the real workflow is not
|
||||
# executed because some files were ignored.
|
||||
name: Shellcheck
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.sh'
|
||||
- .github/workflows/shellcheck.yaml
|
||||
push:
|
||||
branches:
|
||||
- prerelease_test
|
||||
paths-ignore:
|
||||
- '**.sh'
|
||||
- .github/workflows/shellcheck.yaml
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: Shellcheck
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- run: |
|
||||
echo "No build required"
|
6
.github/workflows/shellcheck.yaml
vendored
6
.github/workflows/shellcheck.yaml
vendored
@ -2,10 +2,16 @@
|
||||
name: Shellcheck
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.sh'
|
||||
- .github/workflows/shellcheck.yaml
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- prerelease_test
|
||||
paths:
|
||||
- '**.sh'
|
||||
- .github/workflows/shellcheck.yaml
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: Shellcheck
|
||||
|
10
.github/workflows/windows-build-and-test.yaml
vendored
10
.github/workflows/windows-build-and-test.yaml
vendored
@ -5,7 +5,17 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- prerelease_test
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
- 'bootstrap*'
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- '**.md'
|
||||
- 'LICENSE*'
|
||||
- NOTICE
|
||||
- 'bootstrap*'
|
||||
jobs:
|
||||
config:
|
||||
runs-on: ubuntu-latest
|
||||
|
Loading…
x
Reference in New Issue
Block a user