Bump remark-lint-no-auto-link-without-protocol from 3.1.2 to 4.0.0 in /.config/remark #1981
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: Updating redirects | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
paths: | |
- .config/redirects.yml | |
- .github/workflows/sync-redirects.yaml | |
# Manually triggered using GitHub's UI | |
workflow_dispatch: | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
- name: Upgrade Python toolchain | |
run: python3 -m pip install --upgrade pip setuptools wheel | |
- name: Install readthedocs-cli | |
run: python3 -m pip install readthedocs-cli | |
- if: github.ref == format('refs/heads/{0}', github.event.repository.default_branch) | |
id: wet-run | |
name: Sync redirects | |
run: rtd projects 'CivicActions Guidebook' redirects sync -f .config/redirects.yml --wet-run | |
env: | |
RTD_TOKEN: ${{ secrets.RTD_TOKEN }} | |
- if: steps.wet-run.conclusion == 'skipped' | |
name: Sync redirects (DRY RUN) | |
run: rtd projects 'CivicActions Guidebook' redirects sync -f .config/redirects.yml --dry-run | |
env: | |
RTD_TOKEN: ${{ secrets.RTD_TOKEN }} |