Skip to content

feat: update resources in README and roadmap for payment integration,… #6

feat: update resources in README and roadmap for payment integration,…

feat: update resources in README and roadmap for payment integration,… #6

name: Generate README Roadmap
on:
push:
branches: [ v2 ]
paths:
- 'data/**'
- 'scripts/generate-roadmap.js'
- '.github/workflows/readme-generator.yml'
workflow_dispatch:
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: true
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Generate README roadmap
run: node scripts/generate-roadmap.js
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
if ! git diff --quiet README.md; then
git add README.md
git commit -m "chore: update README roadmap [skip ci]"
git push
else
echo "No changes to commit"
fi