1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
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'
|