Skip to content

python-3.13-sync-with-cpython #319

python-3.13-sync-with-cpython

python-3.13-sync-with-cpython #319

name: python-3.13-sync-with-cpython
on:
push:
branches:
- "3.13"
schedule:
- cron: "0 0 * * *"
jobs:
sync:
runs-on: ubuntu-latest
env:
VERSION: "3.13"
BRANCH: "cron/sync/3.13"
steps:
- uses: actions/checkout@v4
with:
ref: ${{ env.VERSION }}
- name: Get the changes on branch (if exists)
continue-on-error: true
run: |
git fetch origin ${{ env.BRANCH }}:${{ env.BRANCH }}
git reset --hard ${{ env.BRANCH }}
- name: Set env
run: echo "LATEST_COMMIT_ID=$(git ls-remote https://github.com/python/CPython.git $VERSION | head -c 8)" >> $GITHUB_ENV
- name: Install Dependencies
run: sudo apt-get install gettext
- name: Install uv
uses: astral-sh/setup-uv@v6
- name: Sync with CPython
run: make clone merge rm_cpython wrap
- uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
with:
token: ${{ steps.generate-token.outputs.token }}
commit-message: sync with cpython ${{ env.LATEST_COMMIT_ID }}
committer: GitHub <noreply@github.com>
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
base: ${{ env.VERSION }}
branch: ${{ env.BRANCH }}
delete-branch: false
title: "Sync with CPython ${{ env.VERSION }}"
body: |
Sync with CPython ${{ env.VERSION }}
draft: true
labels: |
sync-cpython
automation
- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy