Skip to content

Commit

Permalink
Update transfer-issue.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Souvikns committed Nov 11, 2024
1 parent 97c8323 commit 7844596
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/transfer-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
script: |
const r = process.env.GITHUB_REPOSITORY
const [owner, repo] = r.split('/')
console.log(process.env.GITHUB_REPOSITORY)
const repoToMove = process.env.REPO_TO_MOVE
const issue_number = process.env.ISSUE_NUMBER
try {
Expand All @@ -36,7 +35,6 @@ jobs:
})
}catch (e) {
const body = `${repoToMove} is not a repo under ${owner}. You can only transfer issue to repos that belong to the same organisation.`
console.log(issue_number, owner, repo, repoToMove)
await github.rest.issues.createComment({
owner,
repo,
Expand Down

0 comments on commit 7844596

Please sign in to comment.