-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update github.actor
with github.event.pull_request.user.login
for dependabot[bot]
CI's
#13688
Conversation
Thank you @prudhvigodithi! Its interesting, because I tested this on my fork and the GHA runs as dependabot ( In the main repo, the GHA is not run as dependabot for dependabot PRs. Its running as opensearch-trigger-bot instead. Example: https://github.com/opensearch-project/OpenSearch/actions/runs/9063816615?pr=13643 This change looks good to me! Approved. (Verbally approving because my approval counts towards merge, but I'm not a maintainer of this repo) |
Thanks @cwperks here is the quick test run that prints the PR author with |
Thank you @prudhvigodithi. The output is what I expect, the github username of the submitter of the pull request. Can you also update this instance as well? |
Both of these actions are only run on PRs, so I expect |
dependabot[bot]
github.actor
with github.event.pull_request.user.login
for dependabot[bot]
CI's
From what I understood the |
Updated the |
❌ Gradle check result for 82ab1bd: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 5dcc4c1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@prudhvigodithi Is this ready for review/merge or still in draft? |
|
|
The test |
❌ Gradle check result for 5dcc4c1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
The failure error is
|
❌ Gradle check result for 5dcc4c1: FAILURE Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
❌ Gradle check result for 5dcc4c1: null Please examine the workflow log, locate, and copy-paste the failure(s) below, then iterate to green. Is the failure a flaky test unrelated to your change? |
@prudhvigodithi Please follow up on the past 2 failed checks as indicated by the checklist:
|
Signed-off-by: Prudhvi Godithi <[email protected]>
Thanks @peternied but while creating PR initially I did that, however I did it again and force pushed. I will and watch the gradle check. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #13688 +/- ##
============================================
+ Coverage 71.42% 71.50% +0.08%
- Complexity 59978 61138 +1160
============================================
Files 4985 5059 +74
Lines 282275 287522 +5247
Branches 40946 41646 +700
============================================
+ Hits 201603 205585 +3982
- Misses 63999 64988 +989
- Partials 16673 16949 +276 ☔ View full report in Codecov by Sentry. |
Description
Coming from https://github.com/orgs/community/discussions/25502 and the issue pointed by @cwperks that Pull Request Checks is being run on this PR: #13643 raised by
dependabot[bot]
.But actually for the above PR looks to me like the trigger is coming from different bot https://github.com/opensearch-project/OpenSearch/actions/runs/9063816615 which is
opensearch-trigger-bot[bot]
.Adding
github.event.pull_request.user.login
to get the author who opened this PR and exclude the check fordependabot[bot]
.Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.