Add example using xarray atmospheric data #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clean up PR description | |
on: | |
# see https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target | |
pull_request_target: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- edited | |
workflow_call: | |
# see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs | |
permissions: | |
pull-requests: write | |
jobs: | |
check_labels: | |
name: Remove html comments | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
repository: napari/napari | |
# install python and requests | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests | |
- name: Remove html comments | |
env: | |
GH_PR_NUMBER: ${{ github.event.number }} | |
GH_REPO_URL: ${{ github.event.repository.url}} | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
python tools/remove_html_comments_from_pr.py |