Replies: 9 comments
|
We have the same challenge, on our end, it does seem to point towards the user who first added the scheduled parameter. |
|
I think it's based on their notification system for scheduled workflow runs: https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/notifications-for-workflow-runs |
|
I asked GitHub support about this and got the following answer:
I had first tried to change the actor by merging a PR by the desired new user to the cron job .yml action. That did not change the actor. What did work was to log in as the new user and then disable and re-enable the workflow, as linked to above. |
|
Could it be possible to have a new feature added in Github so we can define the user we want to trigger the scheduled workflow? |
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
|
This is not outdated, and there is no answer. What's supposed to happen once you mark a discussion as stale, but that's not true? |
|
I think it should be an option to select the user that triggers the flow |
|
We need also a option to change the actor, e.g. maybe to github-actions[bot] |
|
What I expected for scheduled workflow is to have some system name that would tell me that workflow was executed by a
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Select Topic Area
Question
Body
I've been scratching my head around this for 2 days, and I can't figure it out.
When you run a scheduled workflow, GitHub seems to be picking semi-random people as
github.actor(they're part of the repo, but what it the criteria??).https://docs.github.com/en/actions/learn-github-actions/contexts
This doesn't provide any useful information on scheduled jobs, just manual trigger.
Both the answers in this thread are incorrect, at least based on my experience: it's not the last person who edited the workflow, created it, or edited specific lines.
All reactions