Skip to content

Commit

Permalink
[HUDI-7438] Fix issue number fetch in Azure CI check (#10751)
Browse files Browse the repository at this point in the history
  • Loading branch information
yihua committed May 3, 2024
1 parent e4a8109 commit 80a69b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/azure_ci_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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({
Expand Down

0 comments on commit 80a69b8

Please sign in to comment.