Update README #1066
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 README' | |
on: | |
schedule: | |
- cron: '0 */24 * * *' | |
workflow_dispatch: | |
#push: | |
# branches: | |
# - main | |
jobs: | |
recent-activity: | |
name: 'Update README with latest activity' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout Repository' | |
uses: actions/Checkout@v3 | |
- name: 'Update README.md from TEMPLATE.md' | |
uses: Readme-Workflows/recent-activity@main | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
CONFIG_FILE: 'sample.yml' | |
metrics: | |
name: 'Update SVGs for Readme stats' | |
runs-on: ubuntu-latest | |
needs: recent-activity | |
steps: | |
- uses: lowlighter/metrics@v3.33 | |
with: | |
token: ${{ secrets.METRICS_TOKEN }} | |
user: Readme-Workflows | |
repo: recent-activity | |
template: markdown | |
filename: README.md | |
markdown: TEMPLATE.md | |
markdown_cache: '.github/svg_cache' | |
base: "" | |
config_octicon: yes | |
plugin_stargazers: yes | |
plugin_contributors: yes |