Skip to content

Commit

Permalink
chore: change script
Browse files Browse the repository at this point in the history
  • Loading branch information
a0m0rajab authored Sep 27, 2023
1 parent d2c02bf commit f41ea6d
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/intelligent-tests-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,17 @@ jobs:
else
echo "This PR does not introduce any new test failures! Yippee!"
fi
- name: comment tests on PR
uses: machine-learning-apps/pr-comment@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Write GitHub Comment
uses: actions/github-script@v6
github-token: ${{ secrets.IVY_BRANCH_TOKEN }}
with:
path: combined_failures.txt
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: '👋 Thanks for the PR, the tests are ready to view!'
})
run_tests:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f41ea6d

Please sign in to comment.