Giter Club home page Giter Club logo

Comments (7)

zzap avatar zzap commented on June 12, 2024 3

You were right, it's token. Now it shows the bot as comment author.

Thank you so much for your help.

from assign-issue-action.

zzap avatar zzap commented on June 12, 2024 1

Hi @takanome-dev , that's exactly what I'm talking about. Here's the screenshot:

-HelpHub-Filters-Settings-Overview-ยท-Issue-975-ยท-WordPress-Documentation-Issue-Tracker

Here's the integration:
https://github.com/WordPress/Documentation-Issue-Tracker/blob/main/.github/workflows/actions-when-commented.yml#L61-L75

Thank you so much for prompt reply โค๏ธ

from assign-issue-action.

takanome-dev avatar takanome-dev commented on June 12, 2024 1

Oh I see, thanks for the screenshot!

I'm unable to address this immediately, but I'll ensure to look into it as soon as I can. Your understanding is much appreciated!

from assign-issue-action.

takanome-dev avatar takanome-dev commented on June 12, 2024

Hey @zzap, thanks for taking the time opening this issue.

Is it possible to change assigned_comment and already_assigned_comment author. It is set to repo owner at the moment and we (WordPress Documentation team) would love to make it obvious it is a bot

Hum, do you have an example that I can take a look at? Because normally the author will be github-action-[bot]. See screenshot below from this issue

2023-08-23_14-38

Is that what you meant?

from assign-issue-action.

takanome-dev avatar takanome-dev commented on June 12, 2024

Ah, I think I now why it has that behavior, @zzap.

It's because you didn't use '${{ secrets.GITHUB_TOKEN }}' as the value of github_token but another token that you probably generated.

If you use the default token, the author will be github-action-[bot] but if you generate that token manually and use it, the author will be the user that has generated that token (I may be wrong tho ๐Ÿ˜…).
Hopefully that makes sense.

Check out this issue -> takanome-dev/test-gh-actions#19

from assign-issue-action.

zzap avatar zzap commented on June 12, 2024

Ah, makes sense. I'll try the default one. Thank you so much for looking into it ๐Ÿ˜Š

from assign-issue-action.

takanome-dev avatar takanome-dev commented on June 12, 2024

No worries ๐Ÿ™‚ Let me know if it persist

Note

GITHUB_TOKEN is automatically generated so you don't need to generate a token and add it in your secrets

from assign-issue-action.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.