Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
itstrueitstrueitsrealitsreal authored Jul 28, 2024
1 parent 1487166 commit 087ec38
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
let isIssueOpen = false
if (issueNumber) {
const issue = await github.rest.issues.get({
owner: context.repo.owner,
repo: context.repo.repo,
owner: 'TEAMMATES',
repo: 'teammates',
issue_number: issueNumber
});
})
isIssueOpen = issue.data.state === 'open'
if (isTitleValid && isDescriptionValid && isIssueOpen) {
return
Expand Down

0 comments on commit 087ec38

Please sign in to comment.