Skip to content
code

GitHub Action

leetcode-box

v0.1.2 Latest version

leetcode-box

code

leetcode-box

Update a pinned gist to show your LeetCode stats

Installation

Copy and paste the following snippet into your .yml file.

              

- name: leetcode-box

uses: puiiyuen/leetcode-box@v0.1.2

Learn more about this action in puiiyuen/leetcode-box

Choose a version

leetcode-box

Update a pinned gist to show your LeetCode stats.

📌✨ For more pinned-gist projects like this one, check out: https://github.com/matchai/awesome-pinned-gists

Prep Work

  1. Create a new public GitHub Gist (https://gist.github.com/)
  2. Create a token with the gist scope and copy it. (https://github.com/settings/tokens/new)
  3. Find the username from your LeetCode profile https://leetcode.com/{username}

Project Setup

  1. Fork this repository
  2. Go to your fork's Settings > Secrets > Add a new secret for each environment secret:
    • GIST_ID: 32 bits ID from your gist URL https://gist.github.com/{github_username}/762ebda9730630395aabdee06ce58fd1
    • GH_TOKEN: The GitHub token generated above
    • LEETCODE_USERNAME: Your LeetCode Username