From 3fd457617802c58793a071eecb368336d216b395 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 7 Oct 2026 18:42:15 +0200 Subject: [PATCH] ci: always report integration-summary solves Github waiting for an action that will never run, e.g. on dependabot update. Signed-off-by: Arthur Schiwon Assisted-by: Claude Code:claude-opus-5-5 --- .github/workflows/integration.yml | 39 +++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index ec71cd19b6..a21aedd455 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -2,14 +2,6 @@ name: Integration tests on: pull_request: - paths: - - '.github/workflows/integration.yml' - - 'appinfo/**' - - 'lib/**' - - 'templates/**' - - 'tests/**' - - 'composer.json' - - 'composer.lock' push: branches: - main @@ -24,9 +16,36 @@ env: APP_NAME: deck jobs: + changes: + runs-on: ubuntu-latest-low + permissions: + contents: read + pull-requests: read + + outputs: + src: ${{ steps.changes.outputs.src}} + + steps: + - uses: dorny/paths-filter@ceb8a2b8f2d89434be7ff52d3de7ec3738c5cc9d # v4.0.3 + id: changes + continue-on-error: true + with: + filters: | + src: + - '.github/workflows/integration.yml' + - 'appinfo/**' + - 'lib/**' + - 'templates/**' + - 'tests/**' + - 'composer.json' + - 'composer.lock' + integration: runs-on: ubuntu-latest + needs: changes + if: needs.changes.outputs.src != 'false' + strategy: fail-fast: false matrix: @@ -173,7 +192,7 @@ jobs: permissions: contents: none runs-on: ubuntu-latest-low - needs: [integration] + needs: [changes, integration] if: always() @@ -181,4 +200,4 @@ jobs: steps: - name: Summary status - run: if ${{ needs.integration.result != 'success' }}; then exit 1; fi + run: if ${{ needs.changes.outputs.src != 'false' && needs.integration.result != 'success' }}; then exit 1; fi