You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to change the author of the auto-comment. Was expecting it to be from "GitHub Actions" or some generic account, but it appeared to come from the repo owner from our organization.
Expected Behavior
I should be able to set some generic or default author for auto-comments.
Possible Solution
Not sure!
Additional Context
We use this to auto-comment our netlify build links, since we know the format of them and the PR number from the GitHub action. We use this so we don't have to wait for the build link from Netlify, and it's easy to copy. It would be nice if a generic account (or if we could brand it as netlify) could appear to be the one commenting instead of the repo owner against their knowledge.
Apologies if there is already a way to do this, but I didn't see anything in the docs or source code!
The text was updated successfully, but these errors were encountered:
👋 @mosherc
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
I was frustrated about this too but it turns out there's an easy solution, which is to use ${{ secrets.GITHUB_TOKEN }} as the GITHUB_TOKEN
sample workflow:
name: Hello!
runs-on: ubuntu-latest
steps:
- uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
pullRequestOpened: |
👋 @{{ author }}
Thank you for creating a pull request!
Please make sure you have followed our contributing guidelines.
It would be nice to change the author of the auto-comment. Was expecting it to be from "GitHub Actions" or some generic account, but it appeared to come from the repo owner from our organization.
Expected Behavior
I should be able to set some generic or default author for auto-comments.
Possible Solution
Not sure!
Additional Context
We use this to auto-comment our netlify build links, since we know the format of them and the PR number from the GitHub action. We use this so we don't have to wait for the build link from Netlify, and it's easy to copy. It would be nice if a generic account (or if we could brand it as netlify) could appear to be the one commenting instead of the repo owner against their knowledge.
Apologies if there is already a way to do this, but I didn't see anything in the docs or source code!
The text was updated successfully, but these errors were encountered: