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 'triggered by' username to user who committed #28

Closed
osbash opened this issue Aug 21, 2021 · 1 comment
Closed

Changing 'triggered by' username to user who committed #28

osbash opened this issue Aug 21, 2021 · 1 comment

Comments

@osbash
Copy link

osbash commented Aug 21, 2021

This is more of a question than an issue.

We have this up and running to run a workflow from a different repository perfectly.

In the second repository, we have a second action that triggers a slack notification after the repo is deployed.

Since we have to use personal access tokens with workflow-dispatch, it always includes that user in the slack notification. Is there a way to configure this to use the github username of the person who actually triggered the original workflow?

For example, workflow-dispatch is configured using a PAT from User A

User B commits and it triggers the actions to begin, but it always says manually run by User A
When the second repo is dispatched, that one also says manually triggered by User A

@benc-uk
Copy link
Owner

benc-uk commented Oct 28, 2022

I don't think I can affect this, it's how the GitHub API works

@benc-uk benc-uk closed this as completed Oct 28, 2022
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