-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathaction.yml
34 lines (34 loc) · 1.04 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
name: 'LeetCode Sync'
description: 'Sync LeetCode submissions to GitHub'
branding:
icon: git-commit
color: yellow
inputs:
github-token:
description: 'The GitHub token'
required: true
leetcode-csrf-token:
description: 'The LeetCode CSRF token'
required: true
leetcode-session:
description: 'The LeetCode session value'
required: true
filter-duplicate-secs:
description: 'Number of seconds after an accepted solution to ignore other accepted solutions for the same problem'
required: false
default: '86400'
destination-folder:
description: 'The folder to save the synced files in (relative to the top level of your repo)'
required: false
default: '.'
verbose:
description: 'Adds submission percentiles and question numbers to the repo (requires an additional API call)'
required: false
default: 'true'
commit-header:
description: 'How the automated commits should be prefixed'
required: false
default: 'Sync LeetCode submission'
runs:
using: 'node20'
main: 'dist/index.js'