Skip to content
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

Changing icon and commenter name? #359

Open
larseggert opened this issue Mar 12, 2024 · 1 comment
Open

Changing icon and commenter name? #359

larseggert opened this issue Mar 12, 2024 · 1 comment

Comments

@larseggert
Copy link

Screenshot 2024-03-12 at 16 58 40

Is there any way to change the commenter name, icon and/or URL that name and icon link to?

@alexVera99
Copy link

alexVera99 commented Oct 11, 2024

AFAIK, that's related witht the github token provided. In the documentation, they say it uses ${{ github.token }} which I understand uses the github-actions user.

To change the icon an user name then you need to create a GH user, put the icon and user name you want. Create a token for that user and use it to run the action using the parameter github-token:

- name: Write a comment that will be deleted at the end of the job
  uses: thollander/actions-comment-pull-request@v3
  with:
    message: |
      The PR is being built...
    github-token: ${{ secrets.YOUR_USER_TOKEN }}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants