Allow connection override in magic execution #4954
Workflow file for this run
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: check-for-broken-links | |
on: | |
schedule: | |
- cron: '0 8 * * *' | |
pull_request: | |
jobs: | |
broken-links: | |
runs-on: ubuntu-latest | |
if: ${{ !contains(github.event.pull_request.labels.*.name, 'allow-broken-links') }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pkgmt | |
- name: Check for broken links | |
run: | | |
pkgmt check-links --only-404 | |