generated from cicirello/python-github-action-template
-
-
Notifications
You must be signed in to change notification settings - Fork 36
51 lines (44 loc) · 1.37 KB
/
generate-samples.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: samples
on:
schedule:
- cron: '0 1 * * 6'
workflow_dispatch:
jobs:
samples:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: samples
- name: Sample light
uses: cicirello/user-statistician@v1
with:
colors: light
image-file: images/light.svg
# Using custom-title is not necessary here in general.
# I'm just using it so that the sample has a more generic name
# of user rather than my name. The format this uses is identical
# to if this input was not used, but with my name replaced by a
# generic name.
custom-title: Firstname Lastname's GitHub Activity
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Sample dark
uses: cicirello/user-statistician@v1
with:
colors: dark
image-file: images/dark.svg
include-title: false
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Sample dark-dimmed
uses: cicirello/user-statistician@v1
with:
colors: dark-dimmed
image-file: images/dark-dimmed.svg
custom-title: My GitHub Statistics
hide-keys: joined, mostStarred, mostForked, followers, following, private
max-languages: 100
animated-language-chart: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}