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. |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
🕒 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! 💬 |
Beta Was this translation helpful? Give feedback.
-
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? |
Beta Was this translation helpful? Give feedback.
-
I think it should be an option to select the user that triggers the flow |
Beta Was this translation helpful? Give feedback.
-
We need also a option to change the actor, e.g. maybe to github-actions[bot] |
Beta Was this translation helpful? Give feedback.
-
What I expected for scheduled workflow is to have some system name that would tell me that workflow was executed by a
|
Beta Was this translation helpful? Give feedback.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions