Skip to content

Removing non-RMM and dupes (#23) #2

Removing non-RMM and dupes (#23)

Removing non-RMM and dupes (#23) #2

Workflow file for this run

name: Update RMM Tools Badge
on:
push:
branches:
- main
paths:
- 'yaml/**'
jobs:
update-badge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Update badge
run: python bin/update_badge.py
- name: Commit and push if changed
env:
GITHUB_TOKEN: ${{ secrets.PUSH_TOKEN }}
run: |
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add rmm-tools-count.json
git commit -m "Update RMM Tools count badge" || exit 0
git push https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git HEAD:${GITHUB_REF}