-
Notifications
You must be signed in to change notification settings - Fork 310
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Rest call to delete comment returns 404 #634
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labled with |
By default, the I would recommend to register a GitHub App with the needed permissions, install the app on the repositories you need it to have access to, and create an installation access token using https://github.com/actions/create-github-app-token, then pass that token to actions/github-script For further questions, can you file an issue in https://github.com/actions/github-script? |
Just for the record any action is taken on the repository the workflow on, is running as the corresponding variables are taken from the current context owner: context.repo.owner,
repo: context.repo.repo, |
What happened?
I am trying to conditionally delete comments through the following workflow
However this fails with
Versions
Using
actions/github-script@v6
which in turn uses@octokit/core
version: 5.0.1Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: