You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why take the effort of copy/pasting manually when you can make use of technology to do it for ya.
4
+
5
+
LC-SyncInAction solves this problem and takes your cookie in his hand to pull and push your Accepted solution everyday.
6
+
7
+
First run will pull all your Accepted solutions from LC ( which will take **1h 46 min to 2h 30 min approx** ) and create those submission in the current repository in the specified directory (root, if not provided )
8
+
9
+
All the run afterwards will fetch your last 20 Accepted submission everyday at 8AM UTC ( 1:30 IST ) daily.
10
+
11
+
### Requirements :
12
+
13
+
`cookie` value from the request headers https://leetcode.com/<your-username>
14
+
15
+
This cookie value has to be saved as a repository secret named as `cookieVal` which **has to be** passed as `${{ secrets.cookieVal }}` into action step [you can look here on how to do save a repository secret](https://docs.github.com/en/actions/reference/encrypted-secrets#creating-encrypted-secrets-for-a-repository)
16
+
17
+
You can also pass location of directory, to option `solution_location` , where would you like to collect all your solutions ( the default is root directory ).
18
+
19
+
## Usage
20
+
21
+
Example use case of this action in your WORKFLOWS.
0 commit comments