diff --git a/.github/workflows/icon-generator.yml b/.github/workflows/icon-generator.yml index 04d39e544..3e9794073 100644 --- a/.github/workflows/icon-generator.yml +++ b/.github/workflows/icon-generator.yml @@ -83,7 +83,7 @@ jobs: PR_MESSAGE: "Optimized icons have been automatically generated and pushed to the repository. Do not forget to add a changeset file for @hopper-ui/svg-icons and @hopper-ui/icons." with: script: | - github.issues.createComment({ + github.rest.issues.createComment({ owner: context.repo.owner, repo: context.repo.repo, issue_number: context.issue.number,