Skip to content

Update Profile README #223

Update Profile README

Update Profile README #223

Workflow file for this run

name: Update Profile README
on:
schedule:
- cron: '0 */6 * * *'
workflow_dispatch:
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3'
- run: ruby .github/scripts/update_readme.rb
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Commit and push if changed
run: |
git diff --quiet profile/README.md && exit 0
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add profile/README.md
git commit -m "Update profile README dynamic sections"
git push