Download diffusers/.github/workflows/stale.yml from Ouzhang/helios: direct link, hf CLI and curl.
- Browser
- Download file 612 Bytes
-
https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/.github/workflows/stale.yml
- Command line
-
hf download hf://datasets/Ouzhang/helios/diffusers/.github/workflows/stale.yml
-
curl -L -o stale.yml https://huggingface.co/datasets/Ouzhang/helios/resolve/main/diffusers/.github/workflows/stale.yml
612 Bytes
| name: Stale Bot | |
| on: | |
| schedule: | |
| - cron: "0 15 * * *" | |
| jobs: | |
| close_stale_issues: | |
| name: Close Stale Issues | |
| if: github.repository == 'huggingface/diffusers' | |
| runs-on: ubuntu-22.04 | |
| permissions: | |
| issues: write | |
| pull-requests: write | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.10 | |
| - name: Install requirements | |
| run: | | |
| pip install PyGithub | |
| - name: Close stale issues | |
| run: | | |
| python utils/stale.py | |