github-activity-readme
github-activity-readme copied to clipboard
The action is valid, but the info is not displayed
Did as shown in the example, does not work. Please tell me what is wrong.
update-readme.yml
name: Update README
on:
schedule:
# Runs at the end of every day.
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
name: Update this repo's README with recent activity
steps:
- uses: actions/checkout@v2
- uses: jamesgeorge007/github-activity-readme@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
COMMIT_MSG: 'Update README with the recent activity'
MAX_LINES: 10
README.md
<!--START_SECTION:activity-->
<!--END_SECTION:activity-->