Skip export-data on non-code (e.g. docs) PRs (#16387)
This commit is contained in:
parent
ec1c709440
commit
06f650f5f4
|
@ -499,8 +499,8 @@ jobs:
|
||||||
/logs/**/*.log*
|
/logs/**/*.log*
|
||||||
|
|
||||||
export-data:
|
export-data:
|
||||||
if: ${{ !failure() && !cancelled() }} # Allow previous steps to be skipped, but not fail
|
if: ${{ !failure() && !cancelled() && needs.changes.outputs.integration == 'true'}} # Allow previous steps to be skipped, but not fail
|
||||||
needs: [linting-done, portdb]
|
needs: [linting-done, portdb, changes]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
TOP: ${{ github.workspace }}
|
TOP: ${{ github.workspace }}
|
||||||
|
@ -535,7 +535,7 @@ jobs:
|
||||||
|
|
||||||
|
|
||||||
portdb:
|
portdb:
|
||||||
if: ${{ !failure() && !cancelled() && needs.changes.outputs.linting == 'true' }} # Allow previous steps to be skipped, but not fail
|
if: ${{ !failure() && !cancelled() && needs.changes.outputs.integration == 'true'}} # Allow previous steps to be skipped, but not fail
|
||||||
needs:
|
needs:
|
||||||
- linting-done
|
- linting-done
|
||||||
- changes
|
- changes
|
||||||
|
@ -702,6 +702,7 @@ jobs:
|
||||||
trial-olddeps
|
trial-olddeps
|
||||||
sytest
|
sytest
|
||||||
portdb
|
portdb
|
||||||
|
export-data
|
||||||
complement
|
complement
|
||||||
check-signoff
|
check-signoff
|
||||||
lint-newsfile
|
lint-newsfile
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Avoid running CI steps when the files they check have not been changed.
|
Loading…
Reference in New Issue