Skip to content

Link external

Link external #31

Workflow file for this run

name: Link external
on:
workflow_dispatch:
schedule:
- cron: "15 21 * * 0" # 21.15 UTC every Sunday
permissions:
contents: write
jobs:
links:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
with:
path: main
- uses: actions/checkout@v5
with:
ref: wheelhouse
path: wheelhouse
- name: Update external links
run: |
main/tools/link_pypi wheelhouse/
- name: Commit index
working-directory: wheelhouse
run: |
if [[ -z "$(git status --porcelain)" ]]; then
echo "No changes to commit"
exit 0
fi
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit -m "ci: Update external links"
git push origin HEAD:wheelhouse