[ENH] Add sphinx event to add capability table to estimators' docs individually #2365
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 Posted | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
self-assign: | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
sparse-checkout: .github/utilities | |
- name: Setup Python 3.10 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Install PyGithub | |
run: pip install -Uq PyGithub | |
- name: Create app token | |
uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ vars.PR_APP_ID }} | |
private-key: ${{ secrets.PR_APP_KEY }} | |
- name: Assign issue | |
run: python .github/utilities/issue_assign.py | |
env: | |
CONTEXT_GITHUB: ${{ toJson(github) }} | |
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} |