diff --git a/.github/workflows/ci-integration-review.yml b/.github/workflows/ci-integration-review.yml index ba651e6e3e282..7335e5058ff46 100644 --- a/.github/workflows/ci-integration-review.yml +++ b/.github/workflows/ci-integration-review.yml @@ -75,7 +75,7 @@ jobs: - name: (PR review) Set latest commit status as pending uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} status: 'success' diff --git a/.github/workflows/cli.yml b/.github/workflows/cli.yml index 5374296d1d35e..3b75c65a8c714 100644 --- a/.github/workflows/cli.yml +++ b/.github/workflows/cli.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }} diff --git a/.github/workflows/component_features.yml b/.github/workflows/component_features.yml index 6c7fc5a830eab..cca94298d1e13 100644 --- a/.github/workflows/component_features.yml +++ b/.github/workflows/component_features.yml @@ -26,7 +26,7 @@ jobs: if: github.event_name == 'pull_request_review' uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} context: Component Features - Linux status: ${{ job.status }} diff --git a/.github/workflows/cross.yml b/.github/workflows/cross.yml index 87ba03254f5cc..5669142b62259 100644 --- a/.github/workflows/cross.yml +++ b/.github/workflows/cross.yml @@ -26,7 +26,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} context: Cross status: 'success' diff --git a/.github/workflows/deny.yml b/.github/workflows/deny.yml index 3ab5e6199b293..ac5ee9f353e79 100644 --- a/.github/workflows/deny.yml +++ b/.github/workflows/deny.yml @@ -27,7 +27,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }} diff --git a/.github/workflows/environment.yml b/.github/workflows/environment.yml index a3399da763770..ce16cb6c8edfc 100644 --- a/.github/workflows/environment.yml +++ b/.github/workflows/environment.yml @@ -20,7 +20,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }} diff --git a/.github/workflows/k8s_e2e.yml b/.github/workflows/k8s_e2e.yml index 35acfdad4bf5f..687b865402ec6 100644 --- a/.github/workflows/k8s_e2e.yml +++ b/.github/workflows/k8s_e2e.yml @@ -74,7 +74,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} status: pending @@ -82,7 +82,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' }} @@ -109,7 +109,7 @@ jobs: uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} status: 'success' diff --git a/.github/workflows/misc.yml b/.github/workflows/misc.yml index ecd6b1ac9f70e..3f34eeb5f23c9 100644 --- a/.github/workflows/misc.yml +++ b/.github/workflows/misc.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }} diff --git a/.github/workflows/regression.yml b/.github/workflows/regression.yml index 54165e42442d5..2fdb682d8a8f9 100644 --- a/.github/workflows/regression.yml +++ b/.github/workflows/regression.yml @@ -232,7 +232,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 with: - sha: ${{ github.events.review.commit_id }} + sha: ${{ github.event.review.commit_id }} token: ${{ secrets.GITHUB_TOKEN }} context: Regression Detection Suite status: 'success' diff --git a/.github/workflows/unit_mac.yml b/.github/workflows/unit_mac.yml index 34a4febcf8689..728c74c4894d4 100644 --- a/.github/workflows/unit_mac.yml +++ b/.github/workflows/unit_mac.yml @@ -14,7 +14,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }} diff --git a/.github/workflows/unit_windows.yml b/.github/workflows/unit_windows.yml index c236ab8a2e45e..d4828b9f994ff 100644 --- a/.github/workflows/unit_windows.yml +++ b/.github/workflows/unit_windows.yml @@ -13,7 +13,7 @@ jobs: if: ${{ github.event_name == 'pull_request_review' }} uses: myrotvorets/set-commit-status-action@v2.0.1 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/set-commit-status-action@v2.0.1 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 }}