Skip to content

Commit

Permalink
chore: move lines of code to gen-readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aarondill committed Dec 7, 2024
1 parent 717c851 commit 43d5f8a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/gen-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ jobs:
uses: djdefi/cloc-action@6
with:
options: --md --report-file=cloc.md
- run: cat cloc.md >> README.md && rm cloc.md
# Note: initial newline is required because files don't end with one
- run: printf '\n%s\n' '### Lines of code' >> README.md
cat cloc.md >> README.md
rm cloc.md
- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "chore: Generate README"
Expand Down
4 changes: 0 additions & 4 deletions README.tmpl.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,3 @@ The configuration should handle this without issue.
```shell
startx "$(which awesome)" -c "<PATH TO THE REPO>/rc.lua"
```

### Lines of code

<!-- This is generated via github workflow -->

0 comments on commit 43d5f8a

Please sign in to comment.