Skip to content

Commit caebc87

Browse files
committed
Update codestats metrics
1 parent d96b572 commit caebc87

File tree

1 file changed

+9
-38
lines changed

1 file changed

+9
-38
lines changed

README.md

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,45 +13,16 @@
1313
Add a comment to your `README.md` like this:
1414

1515
```md
16-
<!--START_SECTION:codestats-->
17-
<!--END_SECTION:codestats-->
16+
<!-- START_SECTION:codestats -->
17+
```text
18+
Markdown | ██████████████████████████████████████████ | 220306
19+
JavaScript | ████████████████████████████████████ | 188377
20+
Vue | ███████████████████████████ | 143143
21+
HTML | ██████████████████████████ | 137284
22+
Go | ████████████████ | 82348
23+
YAML | ██████████████ | 73315
1824
```
19-
20-
These lines will be our entry-points for the dev metrics.
21-
22-
### Profile Repository
23-
24-
_If you're executing the workflow on your Profile Repository (`<username>/<username>`)_
25-
26-
Please follow the steps below:
27-
28-
1. Go to your `<username>/<username>/actions`, hit `New workflow`, `set up a workflow yourself`, delete all the default content github made for you.
29-
2. Copy the following code and paste it to your new workflow you created at step 1:
30-
31-
```yml
32-
name: CodeStats – README
33-
34-
on:
35-
workflow_dispatch:
36-
schedule:
37-
# Runs at 12am UTC
38-
- cron: '0 0 * * *'
39-
40-
jobs:
41-
update-readme:
42-
name: Update this repo's README
43-
runs-on: ubuntu-latest
44-
steps:
45-
- uses: vergissberlin/codestats-readme@main
46-
with:
47-
CODESTATS_USERNAME: <username>
48-
```
49-
50-
3. Add a comment to your `README.md` like this:
51-
52-
```md
53-
<!-- START_SECTION:codestats -->
54-
<!-- END_SECTION:codestats -->
25+
<!-- END_SECTION:codestats -->
5526
```
5627
5728
4. Go to Workflows menu (mentioned in step 1), click `CodeStats Readme`, click `Run workflow`.

0 commit comments

Comments
 (0)