Skip to content

docs(cli): 关闭 PyPI 发行与生产验收单元 (#104) #24

docs(cli): 关闭 PyPI 发行与生产验收单元 (#104)

docs(cli): 关闭 PyPI 发行与生产验收单元 (#104) #24

Workflow file for this run

name: Prepare release pull request
on:
push:
branches:
- main
permissions:
contents: write
pull-requests: write
concurrency:
group: prepare-release-pr
cancel-in-progress: true
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout checked main
uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
with:
fetch-depth: 0
ref: ${{ github.sha }}
- name: Set up Python and PDM
uses: pdm-project/setup-pdm@973541a5febeafcfdadf8a51211435be6ecfd90f # v4.5
with:
python-version-file: .python-version
version: 2.28.0
cache: true
- name: Install locked release tooling
run: pdm install -G dev --frozen-lockfile
- name: Prepare every pending project
run: pdm run release:prepare
- name: Update generated branch
env:
GH_TOKEN: ${{ github.token }}
run: bash scripts/automation/release_pr.sh