fix: preserve source entity binding in forward fallback #787
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Docs | |
| on: | |
| push: | |
| # branches: ["!main"] never matched anything: a filter with only negative | |
| # patterns matches no branch at all | |
| branches-ignore: [main] | |
| paths: ["docs/**"] | |
| pull_request: | |
| types: [labeled, opened, synchronize, reopened, review_requested, ready_for_review] | |
| paths: ["docs/**"] | |
| pull_request_review: | |
| types: [submitted] | |
| # group per ref so concurrent PRs don't cancel each other's docs builds | |
| concurrency: | |
| group: docs-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| NIX_PATH: "nixpkgs=https://channels.nixos.org/nixpkgs-unstable/nixexprs.tar.xz" | |
| jobs: | |
| build: | |
| # review events: only approvals re-trigger; comment reviews shouldn't burn a build | |
| if: ${{github.event_name != 'pull_request_review' || github.event.review.state == 'approved'}} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: wimpysworld/nothing-but-nix@v10 | |
| - uses: cachix/install-nix-action@v31 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v13 | |
| - uses: actions/checkout@v6 | |
| - name: Build | |
| run: nix-shell --run 'just docs-build' |