Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Skip export-data on non-code (e.g. docs) PRs #16387

Merged
merged 4 commits into from Sep 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/tests.yml
Expand Up @@ -499,8 +499,8 @@ jobs:
/logs/**/*.log*

export-data:
if: ${{ !failure() && !cancelled() }} # Allow previous steps to be skipped, but not fail
needs: [linting-done, portdb]
if: ${{ !failure() && !cancelled() && needs.changes.outputs.integration == 'true'}} # Allow previous steps to be skipped, but not fail
needs: [linting-done, portdb, changes]
runs-on: ubuntu-latest
env:
TOP: ${{ github.workspace }}
Expand Down Expand Up @@ -535,7 +535,7 @@ jobs:


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:
- linting-done
- changes
Expand Down Expand Up @@ -702,6 +702,7 @@ jobs:
trial-olddeps
sytest
portdb
export-data
complement
check-signoff
lint-newsfile
Expand Down
1 change: 1 addition & 0 deletions changelog.d/16387.misc
@@ -0,0 +1 @@
Avoid running CI steps when the files they check have not been changed.