Skip to content

chore: update base.py #158

chore: update base.py

chore: update base.py #158

Workflow file for this run

name: Clean up PR documentation
on:
pull_request:
types: [closed]
concurrency:
group: distilabel-docs
cancel-in-progress: false
permissions:
contents: write
pull-requests: write
jobs:
cleanup:
runs-on: ubuntu-latest
steps:
- name: Checkout merged branch
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: ./scripts/install_docs_dependencies.sh
- name: Set git credentials
run: |
git config --global user.name "${{ github.actor }}"
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
- name: Remove PR documentation
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
mike delete pr-$PR_NUMBER --push