Skip to content

toc of discussions

toc of discussions #3

Workflow file for this run

name: toc of discussions
on:
discussion:
types:
- created
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.x"
- name: Install Dependencies
run: |
pip install requests
- name: Update README
run: python .github/scripts/toc.py
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_REPOSITORY: ${{ github.repository }}