Skip to content

Commit

Permalink
update-versions: add regular workflow
Browse files Browse the repository at this point in the history
Signed-off-by: William Woodruff <[email protected]>
  • Loading branch information
woodruffw committed Aug 10, 2024
1 parent f94cda4 commit ddebabc
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: check for new CPython versions
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: set up environment
run: |
python -m venv env
./env/bin/python -m pip install -r requirements.txt
- name: check for new versions
run: |
./env/bin/python fetcher.py
- name: create PR
uses: peter-evans/create-pull-request@v6
with:
commit-message: "[BOT] update versions"
branch: update-versions
branch-suffix: timestamp
title: "[BOT] update versions"
body: |
This is an automated pull request.
Please review manually before merging.
assignees: "woodruffw"
reviewers: "woodruffw"

0 comments on commit ddebabc

Please sign in to comment.