File tree Expand file tree Collapse file tree 2 files changed +24
-21
lines changed Expand file tree Collapse file tree 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:
1515
16163 . Add a workflow file with this action under the ` .github/workflows ` directory, e.g. ` sync_leetcode.yml ` :
1717
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 11name : ' LeetCode Sync'
22description : ' Sync LeetCode submissions to GitHub'
3+ branding :
4+ icon : git-commit
5+ color : yellow
36inputs :
47 github-token :
58 description : ' The GitHub token'
You can’t perform that action at this time.
0 commit comments