Skip to content

used by self test

used by self test #25

Workflow file for this run

name: Used By
on:
schedule:
# https://crontab.guru/
- cron: '0 8 * * *' # At 08:00
workflow_dispatch:
jobs:
used-by:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: shenxianpeng/used-by@main
id: usedby
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
repo: '${{ github.repository }}' # current 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