Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 28, 2024
1 parent 94ddfe6 commit 5d28f66
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/self-comment-slow-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 5d28f66

Please sign in to comment.