Check Broken Links on QA #73
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: Check Broken Links on QA | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '45 9-16 * * 1-5' # Run once per hour during working hours | |
| jobs: | |
| link_check: | |
| name: Check Links on QA | |
| environment: qa | |
| permissions: | |
| contents: read | |
| env: | |
| RAILS_ENV: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Prepare application environment | |
| uses: ./.github/actions/prepare-app-env | |
| with: | |
| skip-ruby: true | |
| skip-node: true | |
| - name: Run deployment link check | |
| shell: bash | |
| run: ./check_broken_links.sh "https://qa.teaching-vacancies.service.gov.uk" "${{ secrets.HTTP_BASIC_USER }}" "${{ secrets.HTTP_BASIC_PASSWORD }}" |