This repository has been archived by the owner on Jun 22, 2024. It is now read-only.
[pull] master from giampaolo:master #100
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Fired by Github Actions every time an issue, PR or comment is created. | |
name: issues | |
on: | |
issues: | |
types: [opened] | |
pull_request: | |
typed: [opened] | |
issue_comment: | |
types: [created] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
# install python | |
- uses: actions/checkout@v4 | |
- name: Install Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.x' | |
# install deps | |
- name: Install deps | |
run: python3 -m pip install PyGithub | |
# run | |
- name: Run | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
PYTHONUNBUFFERED=1 PYTHONWARNINGS=always python3 .github/workflows/issues.py |