Skip to content

vladaviedov/ghls-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ghls-template

Template repository for gh-lang-stats.

Setup

  1. Use this template.
  2. Generate a personal access token here.
  3. Add a your personal access token as a repository secret named TOKEN here (link only works from README).
  4. Pick a template from the source repo and copy it to the repository.
  5. Rename the file to template.svg (or specify with INPUT_FILE).

Configuration

  • Cron: Uncomment lines 5 and 6 in the workflow.
  • Ignore: Create ignore.yml file:
# Repository name to match
- username/repo1
  # Directory paths to match
  dir:
    - ignored_dir1
    - path/to/ignored_dir2
  # File names to match
  file:
    - file.cpp
    - another_file.h
  # Exact file paths to match
  exact:
    - src/main.c
    - lib/thirdpartyheader.h
# Another repository
- org/repo2
  dir:
# etc

Usage

Two ways to run it

  1. Run it manually from the Actions tab.
  2. Use cron to run the job automatically (step 6).
    • The default setting is to run it at 00:00 once a day.

The workflow will generate a file generated.svg (or specified by OUTPUT_FILE).

Releases

No releases published

Packages

No packages published