Skip to content

Commit

Permalink
Don't make comment on existing PR
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed Nov 11, 2024
1 parent 9f76874 commit 2188259
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/update-autocomplete.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,4 @@ jobs:
'[actions/github-script](https://github.com/actions/github-script)',
].join('\n'),
});
} else {
const existingPR = pulls.data[0];
await github.rest.issues.createComment({
owner: owner,
repo: repo,
issue_number: existingPR.number,
body: [
`Updated by Job ${context.job}`,
].join('\n'),
});
}

0 comments on commit 2188259

Please sign in to comment.