Github workflow is not picking up an input parameter when job is run as schedued #122299
-
Select Topic AreaBug Bodyhello everyone, i am using github api to pull list of all github apps in my org. i have set up the workflow as below
list_all_github_app_in_org.py is as follows:
so basically when job is run as a cron, it is not picking up the organization name from inputs.
The same workflow, when triggered manually picks up the org name as an environment variable. This seems to be a bug to me. but i am not sure if any mistake has been happenedd from my end. can someone help me out with this issue. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
@mgriffin @zackfern @elisealix22 @Bestra @timoyates can someone please help on this? I have now issues with multiple repositoriea |
Beta Was this translation helpful? Give feedback.
That is the current expected scenario.
That is an interesting scenario though, to basically assume that if the workflow has workflow_dispatch input parameters, then if the workflow is triggered in a different event, take the default values for the input parameters and set them as env variables.
The problem with that scenario is that having a "default" value isn't required, so it would be hard to enforce.