File tree 2 files changed +24
-21
lines changed
2 files changed +24
-21
lines changed Original file line number Diff line number Diff line change @@ -15,24 +15,24 @@ To use this action:
15
15
16
16
3 . Add a workflow file with this action under the ` .github/workflows ` directory, e.g. ` sync_leetcode.yml ` :
17
17
18
- Example workflow file:
19
-
20
- ``` yaml
21
- name : Sync Leetcode
22
-
23
- on :
24
- schedule :
25
- - cron : ' 0 8 * * *'
26
-
27
- jobs :
28
- build :
29
- runs-on : ubuntu-latest
30
-
31
- steps :
32
- - name : Sync
33
- uses : joshcai/leetcode-sync@v1.0
34
- with :
35
- github-token : ${{ github.token }}
36
- leetcode-csrf-token : ${{ secrets.LEETCODE_CSRF_TOKEN }}
37
- leetcode-session : ${{ secrets.LEETCODE_SESSION }}
38
- ` ` `
18
+ Example workflow file:
19
+
20
+ ``` yaml
21
+ name : Sync Leetcode
22
+
23
+ on :
24
+ schedule :
25
+ - cron : ' 0 8 * * *'
26
+
27
+ jobs :
28
+ build :
29
+ runs-on : ubuntu-latest
30
+
31
+ steps :
32
+ - name : Sync
33
+ uses : joshcai/leetcode-sync@v1.0
34
+ with :
35
+ github-token : ${{ github.token }}
36
+ leetcode-csrf-token : ${{ secrets.LEETCODE_CSRF_TOKEN }}
37
+ leetcode-session : ${{ secrets.LEETCODE_SESSION }}
38
+ ` ` `
Original file line number Diff line number Diff line change 1
1
name : ' LeetCode Sync'
2
2
description : ' Sync LeetCode submissions to GitHub'
3
+ branding :
4
+ icon : git-commit
5
+ color : yellow
3
6
inputs :
4
7
github-token :
5
8
description : ' The GitHub token'
You can’t perform that action at this time.
0 commit comments