Skip to content
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

Commit doesn't work #35

Closed
ghost opened this issue Apr 1, 2021 · 4 comments
Closed

Commit doesn't work #35

ghost opened this issue Apr 1, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 1, 2021

I followed the readme for the installation and it does work. but once the workflow tries to update, it doesn't work this is the error and i don't really have an idea how i could fix it.

Run git config --global user.name "jstrieb/github-stats"
[master 0b12a96] Update generated files
 2 files changed, 34 insertions(+), 115 deletions(-)
To https://github.com/yvarim/github-stats
 ! [rejected]        master -> master (fetch first)
error: failed to push some refs to 'https://github.com/yvarim/github-stats'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
Error: Process completed with exit code 1.
@singhayushh
Copy link

singhayushh commented Apr 1, 2021

Hi there!
By looking at the logs, the commit ID for master 0b12a96 doesn't exist in the remote. It seems there has been some error while configuring the repo. I guess you'll have to delete and redo everything.

Let's see what jstrieb says.

@jstrieb
Copy link
Owner

jstrieb commented Apr 1, 2021

Hi @yvarim, thanks for taking the time to open this issue! (Also thanks to @singhayushh for the preliminary suggestions.)

If you give a quick read over #21 does that seem to match the issue you are having? We never got to the bottom of that issue, but it eventually resolved itself. Happy to explore further either way.

@ghost
Copy link
Author

ghost commented Apr 2, 2021

After waiting till the next workday i see there has been a new commit in the repo.

For some reason when i run the workflow manually it does not work but when it runs automatically it can commit to the repo. And that is kinda how i wanted to use it anyways, so for now my issue has been resolved.

@jstrieb thank you for linking the other issue but just like his issue mine solved itself too. So for now i think we can close this issue and if it stops working completely then we can look further into it

@ghost ghost closed this as completed Apr 2, 2021
@jstrieb
Copy link
Owner

jstrieb commented Apr 2, 2021

Thanks for the reply! This is good info I will be sure to raise with anyone who may have this problem in the future. Please do let me know if you get any additional information about what may be going on.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants