Update Badges #24
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: Update Badges | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: 0 12 1 * * | |
workflow_dispatch: | |
jobs: | |
update-readme: | |
name: Update Badges | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Setup Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.10' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install requests | |
- name: Execute File | |
run: | | |
python scripts/generate-badges.py | |
- name: Pull Request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
branch: "chore/update-badges" | |
title: "Update Brand Badges" |