You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by yi...@apache.org on 2024/02/25 05:18:23 UTC

(hudi) 01/01: Test

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

yihua pushed a commit to branch HUDI-7438-get-prs-with-paginate
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit d03a12fa5696d6a8d2f4fcf94ba29bed5553c88f
Author: Y Ethan Guo <et...@gmail.com>
AuthorDate: Sat Feb 24 21:17:59 2024 -0800

    Test
---
 .github/workflows/azure_ci_check.yml | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/.github/workflows/azure_ci_check.yml b/.github/workflows/azure_ci_check.yml
index 17484a40aa5..b60966fd317 100644
--- a/.github/workflows/azure_ci_check.yml
+++ b/.github/workflows/azure_ci_check.yml
@@ -20,6 +20,8 @@ name: Azure CI
 on:
   issue_comment:
     types: [ created, edited, deleted ]
+  pull_request:
+    types: [ opened, reopened, synchronize, edited ]
 
 permissions:
   statuses: write
@@ -28,10 +30,10 @@ permissions:
 
 jobs:
   check-azure-ci-and-add-commit-status:
-    if: |
-      github.event.issue.pull_request != null &&
-      github.event.issue.pull_request != '' &&
-      github.event.issue_comment.user.login == 'hudi-bot'
+    if: true #|
+    #github.event.issue.pull_request != null &&
+    #github.event.issue.pull_request != '' &&
+    #github.event.issue_comment.user.login == 'hudi-bot'
     runs-on: ubuntu-latest
     steps:
       - name: Checkout repository
@@ -43,7 +45,7 @@ jobs:
         with:
           github-token: ${{secrets.GITHUB_TOKEN}}
           script: |
-            const issueNumber = github.event.issue.number;
+            const issueNumber = 10744;//github.event.issue.number;
             const { data: pullRequest } = await github.rest.pulls.get({
               owner: context.repo.owner,
               repo: context.repo.repo,
@@ -70,7 +72,7 @@ jobs:
           github-token: ${{secrets.GITHUB_TOKEN}}
           script: |
             const latestCommitHash = '${{ steps.check_pr_state.outputs.latest_commit_hash }}'            
-            const issueNumber = github.event.issue.number;
+            const issueNumber = 10744;// github.event.issue.number;
             const checkAzureCiAndCreateCommitStatus = require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/azure_ci.js`);
             
             await checkAzureCiAndCreateCommitStatus({