Skip to content

Feedback Submission #577

Feedback Submission

Feedback Submission #577

name: Lecture Participation Information
on:
issue_comment:
types: [created]
permissions:
issues: write
jobs:
track-participation:
if: >
github.event.issue.number == 2370 &&
github.event.comment.author_association != 'COLLABORATOR' &&
github.event.comment.author_association != 'OWNER' &&
github.event.comment.author_association != 'MEMBER'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.11.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f ./tools/requirements.txt ]; then pip install -r ./tools/requirements.txt; fi
- name: Update participation tracker
working-directory: tools
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REPO_FULLNAME: ${{ github.repository }}
TRACKER_ISSUE_NUMBER: ${{ github.event.issue.number }}
run: python track_participation.py --printMarkdown --publish