Skip to content

Commit

Permalink
Pass pull request number
Browse files Browse the repository at this point in the history
  • Loading branch information
shin-usu committed Aug 15, 2024
1 parent 40356bd commit bb062ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ios-assign-reviewers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
uses: actions/github-script@v7
env:
IOS_REVIEWERS: ${{ vars.IOS_REVIEWERS }}
PULL_NUMBER: ${{ steps.pr_number.outputs.number }}
with:
script: |
const { IOS_REVIEWERS } = process.env
Expand All @@ -42,6 +43,6 @@ jobs:
await github.rest.pulls.requestReviewers({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
pull_number: PULL_NUMBER,
reviewers
});

0 comments on commit bb062ed

Please sign in to comment.