Skip to content

Commit

Permalink
I really think github.event.issue should be github.event.pull_request...
Browse files Browse the repository at this point in the history
  • Loading branch information
peytondmurray committed Sep 26, 2024
1 parent 5e94497 commit 0d57b2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/generate_api_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: "Get PR Info"
id: pr
env:
PR_NUMBER: ${{ github.event.issue.number }}
PR_NUMBER: ${{ github.event.pull_request.number }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
COMMENT_AT: ${{ github.event.comment.created_at }}
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Checkout the branch from the PR that triggered the job
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr checkout ${{ github.event.issue.number }}
run: gh pr checkout ${{ github.event.pull_request.number }}

- name: Validate the fetched branch HEAD revision
env:
Expand Down

0 comments on commit 0d57b2b

Please sign in to comment.