Skip to content

Merge pull request #8 from Sh1nku/v0.4.3 #11

Merge pull request #8 from Sh1nku/v0.4.3

Merge pull request #8 from Sh1nku/v0.4.3 #11

Workflow file for this run

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 }}