Skip to content

Commit & push work fine on a manual Run workflow but not on a cron scheduled one #349

Answered by stefanzweifel
Kamal-Moha asked this question in Help
Discussion options

You must be logged in to vote

From the above code, I see that I'm in the else part of this clause change_detected is false. And the reason it's false is because the new csv file I'm creating in that action is not different from the existing file(previous commit/push) thus changes_detected is false. Please tell me if that's right.

Yeah, that's correct.

Let me also tell you that YES the csv file I'm creating might sometimes not have any detectable changes from the existing file. Does that mean in that case, git-auto-commit won't be able to push anything to github?

Correct. If the file doesn't change, then git-auto-commit can't commit any changes and can't push them to GitHub.

Does git-auto-commit only push when cha…

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
9 replies
@Kamal-Moha
Comment options

@stefanzweifel
Comment options

@Kamal-Moha
Comment options

@stefanzweifel
Comment options

Answer selected by stefanzweifel
@Kamal-Moha
Comment options

@stefanzweifel
Comment options

@Kamal-Moha
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants