-
Notifications
You must be signed in to change notification settings - Fork 73
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
has_new_commits returns true always #64
Comments
What version are you running? |
aormsby/[email protected]. My configuration looks like followingsteps:
Step 3: Display a sample message based on the sync output var 'has_new_commits'
============================= fatal: could not read Username for 'https://github.com/': No such device or address The complete logs is as followingSync upstream changes ----> Setting git config from input vars. (Skips config for all inputs set to 'null'.) Checking out target branch 'stage' for sync. Setting upstream repo to 'my_upstream_repo'. Checking for new commits on upstream branch. fatal: could not read Username for 'https://github.com/': No such device or address No previous sync found from upstream repo. Syncing entire commit history. Syncing new commits...
Pushing synced data to target branch. Resetting git config to previous settings. Action Complete My question is since as per above, it says Everything up-to-date, then why its finding new commit? What I am missing here? Can you please let me know? Thanks in advance for all the help. |
The output syntax was updated in #57. I wonder if maybe the syntax in the |
I believe the problem is this line
It should be So the work around would be to invert the boolean in your action for the current version. Remove the inversion once fixed. |
Even if the target branch is up to date with the upstream repo, the has_new_commits always returns true. I wanted to run another step but this issue is blocking. Can you please suggest?
The text was updated successfully, but these errors were encountered: