diff --git a/.github/workflows/self-comment-slow-ci.yml b/.github/workflows/self-comment-slow-ci.yml index 5b41be345d827b..0c16ab892519aa 100644 --- a/.github/workflows/self-comment-slow-ci.yml +++ b/.github/workflows/self-comment-slow-ci.yml @@ -48,9 +48,16 @@ jobs: --method POST \ -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ - /repos/${{ github.repository }}/pulls/comments/${{ github.event.comment.id }}/replies \ + /repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/comments \ -f "body=This comment contains /pytest, running the specified job..." + # gh api \ + # --method POST \ + # -H "Accept: application/vnd.github+json" \ + # -H "X-GitHub-Api-Version: 2022-11-28" \ + # /repos/${{ github.repository }}/pulls/comments/${{ github.event.comment.id }}/replies \ + # -f "body=This comment contains /pytest, running the specified job..." + - name: Trigger specific job run: | echo "Running the specific job because /pytest was found" @@ -86,6 +93,7 @@ jobs: if: contains(github.event.comment.body, '/test') # check the comment if it contains the keywords run: | echo test + find_models_to_run: runs-on: ubuntu-22.04