Spaces:
Paused
Paused
Download .github/workflows/pre-commit-autoupdate.yml from Dragdev/telegrambot: direct link, hf CLI and curl.
- Browser
- Download file 849 Bytes
-
https://huggingface.co/spaces/Dragdev/telegrambot/resolve/69bb1e2d2faf0302cc647190b56dcedc1937d534/.github/workflows/pre-commit-autoupdate.yml
- Command line
-
hf download hf://spaces/Dragdev/telegrambot@69bb1e2d2faf0302cc647190b56dcedc1937d534/.github/workflows/pre-commit-autoupdate.yml
-
curl -L -o pre-commit-autoupdate.yml https://huggingface.co/spaces/Dragdev/telegrambot/resolve/69bb1e2d2faf0302cc647190b56dcedc1937d534/.github/workflows/pre-commit-autoupdate.yml
849 Bytes
| name: Pre-commit auto-update | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "0 0 * * 1" # every weekday at midnight | |
| jobs: | |
| auto-update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v4 | |
| - name: Install pre-commit | |
| run: pip install pre-commit | |
| - name: Run pre-commit autoupdate | |
| run: pre-commit autoupdate | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: update/pre-commit-autoupdate | |
| title: Auto-update pre-commit hooks | |
| commit-message: Auto-update pre-commit hooks | |
| body: | | |
| Update versions of tools in pre-commit | |
| configs to latest version | |
| labels: dependencies | |