Skip to content

Commit 6a2c052

Browse files
committed
Add sync-leetcode workflow and funding.yml
1 parent 3b59dd3 commit 6a2c052

File tree

2 files changed

+35
-0
lines changed

2 files changed

+35
-0
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: ['https://paypal.me/jimit105'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/workflows/sync_leetcode.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Sync Leetcode Submissions
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
schedule:
9+
- cron: '0 17 */3 * *'
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- name: Sync Leetcode Submissions
17+
uses: joshcai/[email protected]
18+
with:
19+
github-token: ${{ github.token }}
20+
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
21+
leetcode-session: ${{ secrets.LEETCODE_SESSION }}
22+
verbose: false

0 commit comments

Comments
 (0)