This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 163f56913d5 [HUDI-7438] Fix issue number fetch in Azure CI check
(#10751)
163f56913d5 is described below
commit 163f56913d5e19f9403c4b48f741e266e6a0932b
Author: Y Ethan Guo <[email protected]>
AuthorDate: Sun Feb 25 09:10:32 2024 -0800
[HUDI-7438] Fix issue number fetch in Azure CI check (#10751)
---
.github/workflows/azure_ci_check.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/azure_ci_check.yml
b/.github/workflows/azure_ci_check.yml
index 1d10a23a520..1e33e6b8fa5 100644
--- a/.github/workflows/azure_ci_check.yml
+++ b/.github/workflows/azure_ci_check.yml
@@ -42,7 +42,7 @@ jobs:
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
- const issueNumber = github.event.issue.number;
+ const issueNumber = context.issue.number;
const { data: pullRequest } = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
@@ -69,7 +69,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 = context.issue.number;
const checkAzureCiAndCreateCommitStatus =
require(`${process.env.GITHUB_WORKSPACE}/.github/workflows/azure_ci.js`);
await checkAzureCiAndCreateCommitStatus({