Skip to content

chore(workflows): update actions/checkout action to v3.6.0 (#17736) #3914

chore(workflows): update actions/checkout action to v3.6.0 (#17736)

chore(workflows): update actions/checkout action to v3.6.0 (#17736) #3914

Workflow file for this run

---
name: Badge
'on':
push:
branches: [main]
jobs:
count-code-lines:
name: Count Code Lines
runs-on: ubuntu-22.04
environment: production
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install cloc
run: |
sudo apt update --yes
sudo apt install --yes cloc
- name: Count code lines
run: |
echo "CODE_LINE_COUNT=$(bin/count_code_lines.sh)" >> $GITHUB_ENV
- name: Create badge
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
gistID: ecff3e2b8226a5c1406b0c2e2622e968
filename: code_line_count.json
label: code lines
labelColor: gray
message: ${{ env.CODE_LINE_COUNT }}
color: blue