Merge pull request #8 from Sh1nku/v0.4.3 #11
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Count lines of code for the project, and upload to the badge store | |
on: | |
push: | |
tags: | |
- '*' | |
workflow_dispatch: | |
jobs: | |
count-loc-and-upload: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v3 | |
- id: loc | |
name: Count lines of code | |
uses: Sh1nku/count-loc-action@v1 | |
with: | |
excluded: "*.xml,*.toml,*.yml" | |
- uses: Sh1nku/badgestore-update-badge-action@v1 | |
name: Update badge | |
id: badge | |
with: | |
right-label: ${{ steps.loc.outputs.Total_code_abbreviated }} | |
read-write-key: ${{ secrets.LOC_COUNT_BADGE_RW_KEY }} |