joshcai / leetcode-sync

GitHub Action for syncing LeetCode submissions to GitHub
305 stars 61 forks source link

Issue with Github token #5

Closed mohitathwani closed 4 years ago

mohitathwani commented 4 years ago

My action fails and from the screenshot I see that it is able to connect to Leetcode, but it fails on the commit step, which probably means the GitHub token is not configured correctly?

Screen Shot 2020-10-03 at 3 48 41 PM

joshcai commented 4 years ago

Hi @mohitathwani, thanks for reporting this issue! I think this is due to the rename from "master" to "main" for the default branch by GitHub - I will work on a fix shortly.

More Info: https://www.zdnet.com/article/github-to-replace-master-with-main-starting-next-month/

joshcai commented 4 years ago

I pushed a new release that should contain the fix. Could you try it and let me know if it works for you? To use the new release, just use "joshcai/leetcode-sync@v1.2" in your action's .yml configuration file.

mohitathwani commented 4 years ago

Works like a charm! Thank you for this tool :)