summaryrefslogtreecommitdiff
path: root/.github/workflows/issue_bot.yml
blob: 223c0b6e5230c3cb22ea882769587474907c7e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Issue/PR bot
on:
  issues:
    types: [opened]
  pull_request:
    typed: [opened]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Set up Python 3.8
      uses: actions/setup-python@v2
      with:
        python-version: 3.8
    - name: Run
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        GITHUB_ISSUE_URL: ${{ github.event.issue.url }}
      run: |
        PYTHONUNBUFFERED=1 python -m pip install --upgrade pip PyGithub
        PYTHONUNBUFFERED=1 python scripts/internal/github_issue_bot.py