27 lines
648 B
YAML
27 lines
648 B
YAML
name: Cleanup PR Body
|
|
|
|
on:
|
|
pull_request_target:
|
|
types: [opened, reopened, edited]
|
|
|
|
permissions:
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
update-description:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
|
|
- name: Set up Python
|
|
uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5.2.0
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Update PR description
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: .github/scripts/cleanup_pr_body.sh "${{ github.event.number }}"
|