Skip to content

dodopizza/gha-checklist-badges

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example-TODO Example-Checklist-NFR

gha-nfr-checklist-badges

Example USAGE:

  1. Create .md file with checklist (Look at examples/ dir)
  2. Create .github/workflows/nfr_on_push.yaml with content:
name: NFR documents changed
on:
  workflow_dispatch:
  push:
    paths:
      - "*.md"
jobs:
  push:
    name: NFR documents changed
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          fetch-depth: 0
      - name: Update NFR badges
        uses: dodopizza/gha-checklist-badges@main
        with:
          readme-fname: README.md
          nfr-fnames: ChecklistFileOne.md ChecklistFileTwo.md
          github_token: ${{ secrets.GITHUB_TOKEN }}
  1. Now, your README.md will be automatically updated with auto-generated badges following ChecklistFileOne.md/ChecklistFileTwo.md changes