-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create used-by.yml to update Used By badge (#211)
* Create used-by.yml to update Used By badge * add used-by badge to README.md
- Loading branch information
1 parent
b5db5b1
commit 960660a
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
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@v6 | ||
with: | ||
add-paths: "README.md" # the file path to commit | ||
commit-message: "chore: update used-by badge by github-actions[bot]" | ||
title: "chore: automatically update used-by badge" | ||
base: main | ||
labels: documentation | ||
delete-branch: true |
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