Updating "Classifying Names with a Character-Level RNN" #1185
Workflow file for this run
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: Docathon Labels Sync | |
on: | |
pull_request_target: | |
types: [opened, synchronize, edited] | |
jobs: | |
check-labels: | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
pull-requests: write | |
steps: | |
- name: Check if PR mentions an issue and get labels | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install dependencies | |
run: | | |
pip install requests | |
pip install PyGithub | |
- name: Run Python script | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: python ./.github/scripts/docathon-label-sync.py ${{ github.event.pull_request.number }} |