From 03e30416e122d8608856e9d91366c77e5ecb39b2 Mon Sep 17 00:00:00 2001 From: Chris Banks Date: Fri, 3 Nov 2023 10:55:49 +0000 Subject: [PATCH] Make tests callable from publishing-api. Publishing API has [a pre-merge workflow][1] that calls these tests, so we need to be explicit with the checkout repo/ref. [1]: https://github.com/alphagov/publishing-api/blob/3fdb7c2/.github/workflows/test-content-schemas-1.yml#L108-L113 --- .github/workflows/rspec.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/rspec.yml b/.github/workflows/rspec.yml index 2e3d7f35..4a7d5d73 100644 --- a/.github/workflows/rspec.yml +++ b/.github/workflows/rspec.yml @@ -21,6 +21,8 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: + repository: alphagov/collections + ref: ${{ inputs.ref || github.ref }} show-progress: false - name: Checkout Publishing API (for Content Schemas)