Skip to content

docs: separate coverage from readme #130

docs: separate coverage from readme

docs: separate coverage from readme #130

Workflow file for this run

name: Generate Readme
on:
push:
branches:
- main
paths:
- ".github/workflows/readme.yml"
- ".github/scripts/generate-coverage.nu"
- ".doc/resources/*"
- "fmt/resources/*.nu"
defaults:
run:
shell: nu {0}
permissions:
contents: write
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
persist-credentials: true
- name: Set up Nushell
uses: hustcer/setup-nu@v3
- name: Generate Readme
run: |
nu .github/scripts/generate-coverage.nu
- name: Commit & push changes
run: |
git config --global user.name "nucleus"
git config --global user.email "nucleus@users.noreply.github.com"
git add .doc/resource-coverage/coverage.md
try {git commit -m "docs: update README"}
git push