Skip to content

Merge pull request #1139 from d35ha/Chrome-Extensions #151

Merge pull request #1139 from d35ha/Chrome-Extensions

Merge pull request #1139 from d35ha/Chrome-Extensions #151

Workflow file for this run

name: Update packages badge
on:
push:
branches: [ main ]
jobs:
update_badge:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Count packages
run: |
# Counts all packages in /packages including installer.vm
num_packages=$(ls packages | wc -l)
echo "num_packages=$num_packages" >> $GITHUB_ENV
- name: Update dynamic badge gist
uses: schneegans/dynamic-badges-action@e9a478b16159b4d31420099ba146cdc50f134483 # v1.7.0
with:
auth: ${{ secrets.REPO_TOKEN }}
gistID: 0e28118f551692f3401ac669e1d6761d
filename: packages_badge.svg
label: packages
message: ${{ env.num_packages }}
color: blue