| name: Trigger wheel build | |
| on: | |
| push: | |
| branches: [main, master, 'release*'] | |
| tags: ['*'] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build-wheels: | |
| if: github.repository == 'python/mypy' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | |
| with: | |
| persist-credentials: false | |
| - uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Trigger script | |
| env: | |
| WHEELS_PUSH_TOKEN: ${{ secrets.WHEELS_PUSH_TOKEN }} | |
| run: ./misc/trigger_wheel_build.sh |