Spaces:
Paused
Paused
Download .github/workflows/CloseIssue.yml from ERROR418/genspark2api: direct link, hf CLI and curl.
- Browser
- Download file 479 Bytes
-
https://huggingface.co/spaces/ERROR418/genspark2api/resolve/main/.github/workflows/CloseIssue.yml
- Command line
-
hf download hf://spaces/ERROR418/genspark2api/.github/workflows/CloseIssue.yml
-
curl -L -o CloseIssue.yml https://huggingface.co/spaces/ERROR418/genspark2api/resolve/main/.github/workflows/CloseIssue.yml
479 Bytes
| name: CloseIssue | |
| on: | |
| workflow_dispatch: | |
| issues: | |
| types: [ opened ] | |
| jobs: | |
| run-python-script: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: "3.10" | |
| - name: Install Dependencies | |
| run: pip install requests | |
| - name: Run close_issue.py Script | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: python .github/close_issue.py |