Update auditwheel policies #137
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: Update auditwheel policies | |
on: | |
workflow_dispatch: | |
schedule: | |
# Run every week | |
- cron: '0 0 * * 0' | |
permissions: # added using https://github.com/step-security/secure-workflows | |
contents: read | |
jobs: | |
update: | |
permissions: | |
contents: write # for peter-evans/create-pull-request to create branch | |
pull-requests: write # for peter-evans/create-pull-request to create a PR | |
name: Update auditwheel policies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Fetch latest policy files | |
run: | | |
curl https://raw.githubusercontent.com/pypa/auditwheel/main/src/auditwheel/policy/manylinux-policy.json > src/auditwheel/manylinux-policy.json | |
curl https://raw.githubusercontent.com/pypa/auditwheel/main/src/auditwheel/policy/musllinux-policy.json > src/auditwheel/musllinux-policy.json | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
delete-branch: true | |
add-paths: | | |
src/auditwheel/*.json | |
title: 'Update manylinux/musllinux policies to the latest main' | |
commit-message: 'Update manylinux/musllinux policies to the latest main' |