Skip to content

Commit

Permalink
Make tests callable from publishing-api.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sengi committed Nov 3, 2023
1 parent 119e828 commit 03e3041
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 03e3041

Please sign in to comment.