corpus

Log | Files | Refs | README | LICENSE

commit a7150680598509a1cc510a9da51924e5b36d09e8
parent 2c48d724085260f3b684850691ddd9ff330c4272
Author: mtmn <miro@haravara.org>
Date:   Sat,  2 May 2026 01:13:30 +0200

fix(ci): run tests from release-please pipeline

Diffstat:
M.github/workflows/release-please.yml | 7+++++++
M.github/workflows/test.yml | 10+++++++---
2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml @@ -19,6 +19,13 @@ jobs: with: token: ${{ secrets.GITHUB_TOKEN }} + test: + needs: [release-please, update-nix-hash] + if: ${{ needs.release-please.outputs.prs_created == 'true' }} + uses: ./.github/workflows/test.yml + with: + ref: ${{ needs.release-please.outputs.pr_branch }} + update-nix-hash: runs-on: ubuntu-latest needs: release-please diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml @@ -1,14 +1,18 @@ on: pull_request: - push: - branches: - - 'release-please--**' + workflow_call: + inputs: + ref: + type: string + required: false jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1 + with: + ref: ${{ inputs.ref || github.ref }} - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: