Skip to content

Enable PT (flake8-pytest-style) ruleset and fix violations. #624

Enable PT (flake8-pytest-style) ruleset and fix violations.

Enable PT (flake8-pytest-style) ruleset and fix violations. #624

Workflow file for this run

name: Check links
on:
push:
branches: main
pull_request:
branches: '*'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
check_links:
name: Check Links
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: jupyterlab/maintainer-tools/.github/actions/base-setup@b48fcdb87e70c45789abd80d4042b06641e47b46 # v1
- uses: jupyterlab/maintainer-tools/.github/actions/check-links@b48fcdb87e70c45789abd80d4042b06641e47b46 # v1
with:
# Allow absolute links; any broken internal links will get caught in the docs build
# Ignore failed checks on earthdata.nasa.gov: They 403 on requests based on user agent. Nothing we can do short of spoofing.
# Ignore failed links on areas of GitHub that forbid logged-out users
# Ignore third-party URLs that are flaky or block automated/bot traffic
ignore_links: >-
^/.*
^https://www\.earthdata\.nasa\.gov/.*
^https://github\.com/.*
^https://www\.gnu\.org/software/inetutils/
^https://asdc\.larc\.nasa\.gov/project/TEMPO
^https://www\.jpl\.nasa\.gov/missions/surface-water-and-ocean-topography-swot/