-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #209 from AbdYsn/add-hello-work-flow
Add pr-ci-triggers workflow
- Loading branch information
Showing
2 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
on: | ||
pull_request_target: | ||
|
||
jobs: | ||
vendors-ci-triggers-list: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/github-script@v5 | ||
env: | ||
MESSAGE: >- | ||
Thanks for your PR,\n | ||
To run vendors CIs use one of:\n | ||
* `/test-all`: To run all tests for all vendors.\n | ||
* `/test-e2e-all`: To run all E2E tests for all vendors.\n | ||
* `/test-e2e-nvidia-all`: To run all E2E tests for NVIDIA vendor.\n | ||
\n | ||
To skip the vendors CIs use one of:\n | ||
* `/skip-all`: To skip all tests for all vendors.\n | ||
* `/skip-e2e-all`: To skip all E2E tests for all vendors.\n | ||
* `/skip-e2e-nvidia-all`: To skip all E2E tests for NVIDIA vendor.\n | ||
Best regards. | ||
with: | ||
github-token: ${{secrets.GITHUB_TOKEN}} | ||
script: | | ||
github.rest.issues.createComment({ | ||
issue_number: context.issue.number, | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
body: "${{ env.MESSAGE }}" | ||
}) | ||
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