Add reference to PR example for bulk retagging mainstream content wit… #21073
This file contains 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: CI | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
inputs: | |
ref: | |
description: The branch, tag or SHA to checkout | |
default: main | |
type: string | |
schedule: | |
# Deploy hourly between 9am and 7pm on weekdays | |
- cron: "0 9-19 * * 1-5" | |
jobs: | |
test-ruby: | |
name: Test Ruby | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ inputs.ref || github.ref }} | |
show-progress: false | |
- name: Clone publishing api | |
uses: actions/checkout@v4 | |
with: | |
repository: alphagov/publishing-api | |
ref: main | |
path: tmp/publishing-api | |
show-progress: false | |
- uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- run: bundle exec rake | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
GOVUK_CONTENT_SCHEMAS_PATH: tmp/publishing-api/content_schemas | |
SKIP_PROXY_PAGES: true |