-
Hi! 👋 I’m trying to mention my team from actions/github-script – individual mentions work alright, but team mentions are shown as plain text when sent from If I query the What’s going on here? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments
-
I’m having the same problem here and not sure how to go about it. 😦 |
Beta Was this translation helpful? Give feedback.
-
I also have the same issue. it is believed a github bug, and they have not fixed it yet. |
Beta Was this translation helpful? Give feedback.
-
Hi after a few more testing, i managed to make it work. Then i can mention |
Beta Was this translation helpful? Give feedback.
-
Hey @iCynara was this using an actual GitHub App or just an Action? I’m hitting the same issue but with the following workflow:
I get the message but it’s not linked: However if I ‘edit’ the post and go to preview, it’s then linked 😦 |
Beta Was this translation helpful? Give feedback.
-
I’m also having this issue via actions 😦 |
Beta Was this translation helpful? Give feedback.
-
The issue here is that the default
Authentication in a workflow - GitHub DocsIts access is limited to the repository where the workflow is running. You’ll need to create a PAT for that functionality to work. If you are using
actions/github-script/blob/5d31eecbde4f80ba181f36dbc095950302fca32c/action.yml#L11 |
Beta Was this translation helpful? Give feedback.
The issue here is that the default
GITHUB_TOKEN
does not have permission to read teams in an organization:Authentication in a workflow - GitHub Docs
Its access is limited to the repository where the workflow is running. You’ll need to create a PAT for that functionality to work. If you are using
actions/github-script
, you can pass the PAT as an input (it default to theGITHUB_TOKEN
if no other token is passed):