mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-09 20:54:59 +08:00
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Russell Bryant <rbryant@redhat.com>
32 lines
797 B
YAML
32 lines
797 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@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
|
|
with:
|
|
python-version: '3.12'
|
|
|
|
- name: Install Python dependencies
|
|
run: |
|
|
python3 -m pip install --upgrade pip
|
|
python3 -m pip install regex
|
|
|
|
- name: Update PR description
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
run: bash .github/scripts/cleanup_pr_body.sh "${{ github.event.number }}"
|