Used By #39
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: Used By | |
on: | |
schedule: | |
# https://crontab.guru/ | |
- cron: '0 9 * * 1' # At 09:00 on Monday. | |
workflow_dispatch: | |
jobs: | |
used-by: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: shenxianpeng/[email protected] | |
with: | |
repo: '${{ github.repository }}' | |
update-badge: 'true' | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v7 | |
with: | |
add-paths: "README.md" # the file path to commit | |
commit-message: "chore: update used-by badge by github-actions[bot]" | |
author: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | |
title: "chore: automatically update used-by badge" | |
base: main | |
labels: skip-changelog | |
delete-branch: true |