diff options
Diffstat (limited to '.github/workflows/issues.yml')
-rw-r--r-- | .github/workflows/issues.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..17355dee --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,27 @@ +name: issue-bot +on: + issues: + types: [opened] + pull_request: + typed: [opened] + issue_comment: + types: [created] +jobs: + build: + runs-on: ubuntu-latest + steps: + # install python + - uses: actions/checkout@v2 + - name: Install Python + uses: actions/setup-python@v2 + with: + python-version: 3.8 + # install deps + - name: Install deps + run: python -m pip install --upgrade pip PyGithub + # run + - name: Run + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + python .github/workflows/issues.py ${{ github.event.issue.number }} |