Skip to content

Commit

Permalink
Add sync-leetcode workflow and funding.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jimit105 committed Jul 16, 2024
1 parent 3b59dd3 commit 6a2c052
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
custom: ['https://paypal.me/jimit105'] # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
22 changes: 22 additions & 0 deletions .github/workflows/sync_leetcode.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Sync Leetcode Submissions

on:
push:
branches:
- main
workflow_dispatch:
schedule:
- cron: '0 17 */3 * *'

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Sync Leetcode Submissions
uses: joshcai/leetcode-sync@v1.7
with:
github-token: ${{ github.token }}
leetcode-csrf-token: ${{ secrets.LEETCODE_CSRF_TOKEN }}
leetcode-session: ${{ secrets.LEETCODE_SESSION }}
verbose: false

0 comments on commit 6a2c052

Please sign in to comment.