About the bug of tool sql-pretty #310
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
name: Issue Comment Trigger | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
check_comment: | |
runs-on: ubuntu-latest | |
if: github.event.comment.user.login == 'lyzhang1999' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Run create_feedback.py | |
env: | |
GITHUB_TOKEN: ${{ secrets.PERSON_GITHUB_TOKEN }} | |
APP_ID: ${{ secrets.APP_ID }} | |
APP_SECRET: ${{ secrets.APP_SECRET }} | |
run: | | |
cd scripts/python | |
pip3 install -r requirements.txt | |
python3 create_feedback.py ${{ github.event.issue.number }} |