diff options
| author | Ha Thach <[email protected]> | 2026-02-09 20:37:09 +0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-02-09 20:37:09 +0700 |
| commit | a65a852bcfa9c988a25024de5301b637de2b53bf (patch) | |
| tree | 01067de583cc8e6c7523e5a9741dae95d363d4d5 /.github/workflows | |
| parent | 25de49f8f6e8590eb548d4016e030d19166b9fb3 (diff) | |
| parent | 13ae5244c0daa44f3ff9bb5c85484e24ef4523c7 (diff) | |
Merge pull request #3488 from hathach/copilot/sub-pr-3485
Fix membrowse job to run on all pushes for commit chain tracking
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/build.yml | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ee03b82fa..352875a9d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -338,13 +338,20 @@ jobs: # PR: only runs if code changed (doc-only PRs skip entirely) # --------------------------------------- membrowse: - needs: cmake + needs: [check-paths, cmake] + if: | + always() && !cancelled() && ( + github.event_name == 'push' || + github.event_name == 'release' || + github.event_name == 'workflow_dispatch' || + (github.event_name == 'pull_request' && needs.check-paths.outputs.code_changed == 'true') + ) permissions: contents: read actions: read uses: ./.github/workflows/membrowse-report.yml with: - code_changed: true + code_changed: ${{ needs.check-paths.outputs.code_changed == 'true' || github.event_name == 'release' || github.event_name == 'workflow_dispatch' }} secrets: inherit membrowse-comment: |
