check for updates to stable_abi.toml #790
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: check for updates to stable_abi.toml | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '0 12 * * *' | |
jobs: | |
check-stable-abi: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.x" | |
- name: try to update stable_abi.toml | |
run: | | |
curl -o codegen/stable_abi.toml https://raw.githubusercontent.com/python/cpython/main/Misc/stable_abi.toml | |
make codegen | |
- name: create PR | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
commit-message: "[BOT] update stable_abi.toml" | |
branch: update-stable-abi | |
branch-suffix: timestamp | |
title: "[BOT] update stable_abi.toml" | |
body: | | |
This is an automated pull request, updating `stable_abi.toml` after a detected change. | |
Please review manually before merging. | |
assignees: "woodruffw" | |
reviewers: "woodruffw" |