This is an automated email from the ASF dual-hosted git repository. yihua pushed a commit to branch release-0.14.1-spark35-scala213 in repository https://gitbox.apache.org/repos/asf/hudi.git
commit 80a69b899539d435cef4494abcda036b4de55a9b 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({
