This is an automated email from the ASF dual-hosted git repository.

av pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 21d5e40fec1 IGNITE-19463 Checkout pull request HEAD commit instead of 
merge commit on GitHub actions check (#10711)
21d5e40fec1 is described below

commit 21d5e40fec1193787fb83e62a3d91772fde496d3
Author: Anton Vinogradov <[email protected]>
AuthorDate: Fri May 12 11:30:07 2023 +0300

    IGNITE-19463 Checkout pull request HEAD commit instead of merge commit on 
GitHub actions check (#10711)
---
 .github/workflows/commit-check.yml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/commit-check.yml 
b/.github/workflows/commit-check.yml
index ad818297108..5f71d78b973 100644
--- a/.github/workflows/commit-check.yml
+++ b/.github/workflows/commit-check.yml
@@ -35,6 +35,8 @@ jobs:
     name: Check java code on JDK ${{ matrix.java }}
     steps:
       - uses: actions/checkout@v3
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Setup java
         uses: actions/setup-java@v3
@@ -70,6 +72,8 @@ jobs:
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v3
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Setup .NET SDK
         uses: actions/setup-dotnet@v3
@@ -93,6 +97,8 @@ jobs:
           - { python: "3.8", toxenv: "codestyle" }
     steps:
       - uses: actions/checkout@v3
+        with:
+          ref: ${{ github.event.pull_request.head.sha }}
 
       - name: Set up Python ${{ matrix.python-version }}
         uses: actions/setup-python@v4

Reply via email to