summary refs log tree commit diff
path: root/.github/workflows
diff options
context:
space:
mode:
authorDavid Robertson <davidr@element.io>2023-09-26 15:21:07 +0100
committerGitHub <noreply@github.com>2023-09-26 15:21:07 +0100
commit06f650f5f4578fc4303abbdd502585d1c8e4481e (patch)
treec19a7c8e753bc794480e6e400e7782ebd2d33f49 /.github/workflows
parentAdd documentation about the user directory search algorithm (#16320) (diff)
downloadsynapse-06f650f5f4578fc4303abbdd502585d1c8e4481e.tar.xz
Skip export-data on non-code (e.g. docs) PRs (#16387)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/tests.yml7
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 045d3dd257..96750cb6c8 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -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 }}
@@ -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
@@ -702,6 +702,7 @@ jobs:
             trial-olddeps
             sytest
             portdb
+            export-data
             complement
             check-signoff
             lint-newsfile