Skip to content

check-label-then-download-and-upload #12

check-label-then-download-and-upload

check-label-then-download-and-upload #12

name: check-label-then-download-and-upload
on:
issues:
types: [labeled]
jobs:
checkLabel:
runs-on: ubuntu-latest
if: contains(github.event.issue.labels.*.name, 'upload') || contains(github.event.issue.labels.*.name, 'download')
steps:
- name: checkout the repo
uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: setup python
uses: actions/setup-python@v4
- run: sudo apt install aria2
- run: python rain.py
- uses: vtcaregorodtcev/delete-issue@main
with:
github_token: ${{ secrets.PERSONAL_TOKEN }}
issue_node_id: ${{ github.event.issue.node_id }}