Skip to content

Update auditwheel policies #113

Update auditwheel policies

Update auditwheel policies #113

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@v6
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'