Skip to content

[MNT] Update ElasticEnsemble test to work with all distances #86

[MNT] Update ElasticEnsemble test to work with all distances

[MNT] Update ElasticEnsemble test to work with all distances #86

name: Self-Assign Bot
on:
issue_comment:
types: [created]
jobs:
self-assign:
runs-on: ubuntu-20.04
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.10
- name: Install PyGithub
run: |
python -m pip install --upgrade pip
pip install PyGithub
- name: Set env
run: |
echo "ISSUE_NUMBER=$(jq --raw-output .issue.number "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
echo "COMMENT_BODY=$(jq --raw-output .comment.body "$GITHUB_EVENT_PATH")" >> $GITHUB_ENV
- name: Run script
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python .github/scripts/self_assign.py