This is a repo of my LeetCode solutions. It is set to automatically sync with the LeetCode.com web application at 10:45 PM UTC every day.
This repo uses the LeetCode Sync action from @joshcai, available on the GitHub Marketplace here.
More information on this workflow, and how to set one up for yourself, can be found in the original repo's README.md file, located here.
After about 1 week, your LEETCODE_SESSION cookie will expire and LeetCode will automatically logs you...this leads to the the sync action failing with the following error code:
TypeError: response.data.data.submissionList.submissions is not iterable
You will need to log back into LeetCode and use the Chrome Page Inspector to find your new LEETCODE_SESSION, then update your GitHub Actions Secrets with the new LEETCODE_SESSION cookie.
This issue has already been documented in the original workflow's issues page, here.
- Navigate to LeetCode and Log in
- Cmd+Opt+I to open your dev console (Mac / Chrome)
- Click on the "Application" tab
- Find your LeetCode secrets to copy and paste into GitHub