-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): Fix review comment trigger context
It is `github.event` not `github.events` Signed-off-by: Jesse Szwedko <[email protected]>
- Loading branch information
Showing
11 changed files
with
36 additions
and
36 deletions.
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 |
---|---|---|
|
@@ -75,7 +75,7 @@ jobs: | |
- name: (PR review) Set latest commit status as pending | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: pending | ||
|
||
|
@@ -87,7 +87,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: "recursive" | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- run: sudo npm -g install @datadog/datadog-ci | ||
|
||
|
@@ -466,7 +466,7 @@ jobs: | |
- uses: actions/checkout@v3 | ||
with: | ||
submodules: "recursive" | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- run: sudo npm -g install @datadog/datadog-ci | ||
|
||
|
@@ -521,7 +521,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' && env.FAILED != 'true' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: 'success' | ||
|
||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: CLI - Linux | ||
status: pending | ||
|
@@ -23,7 +23,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -53,7 +53,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: CLI - Linux | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Component Features - Linux | ||
status: pending | ||
|
@@ -35,7 +35,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: github.event_name != 'pull_request_review' | ||
|
@@ -50,7 +50,7 @@ jobs: | |
if: always() && github.event_name == 'pull_request_review' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Component Features - Linux | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -26,7 +26,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Cross | ||
status: pending | ||
|
@@ -35,7 +35,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -83,7 +83,7 @@ jobs: | |
- name: (PR review) Submit PR result as success | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Cross | ||
status: 'success' |
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 |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Deny - Linux | ||
status: pending | ||
|
@@ -36,7 +36,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -64,7 +64,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Deny - Linux | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Environment Suite | ||
status: pending | ||
|
@@ -29,7 +29,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -71,7 +71,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Environment Suite | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -74,15 +74,15 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: pending | ||
|
||
- name: (PR review) Checkout PR branch | ||
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -109,7 +109,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: failure() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: 'failure' | ||
|
||
|
@@ -224,7 +224,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: failure() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: 'failure' | ||
|
||
|
@@ -250,7 +250,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' && env.FAILED != 'true' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
status: 'success' | ||
|
||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Miscellaneous - Linux | ||
status: pending | ||
|
@@ -23,7 +23,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -52,7 +52,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Miscellaneous - Linux | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -232,7 +232,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Regression Detection Suite | ||
status: pending | ||
|
@@ -757,7 +757,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' && env.FAILED == 'true' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Regression Detection Suite | ||
status: 'failure' | ||
|
@@ -766,7 +766,7 @@ jobs: | |
if: github.event_name == 'pull_request_review' && env.FAILED != 'true' | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Regression Detection Suite | ||
status: 'success' | ||
|
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 |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Unit - Mac | ||
status: pending | ||
|
@@ -23,7 +23,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -51,7 +51,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Unit - Mac | ||
status: ${{ job.status }} |
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: myrotvorets/[email protected] | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Unit - Windows | ||
status: pending | ||
|
@@ -22,7 +22,7 @@ jobs: | |
if: ${{ github.event_name == 'pull_request_review' }} | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.events.review.commit_id }} | ||
ref: ${{ github.event.review.commit_id }} | ||
|
||
- name: Checkout branch | ||
if: ${{ github.event_name != 'pull_request_review' }} | ||
|
@@ -35,7 +35,7 @@ jobs: | |
uses: myrotvorets/[email protected] | ||
if: always() && github.event_name == 'pull_request_review' | ||
with: | ||
sha: ${{ github.events.review.commit_id }} | ||
sha: ${{ github.event.review.commit_id }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
context: Unit - Windows | ||
status: ${{ job.status }} |