Skip to content

feat: add some previous bits of content #3

feat: add some previous bits of content

feat: add some previous bits of content #3

name: Update Patterns List
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "content/en/patterns/**"
jobs:
update-readme:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_TOKEN }}
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Update README
run: node scripts/update-patterns-list.js
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PAT_TOKEN }}
commit-message: "docs: update patterns list [skip ci]"
title: "docs: update patterns list"
body: |
This PR updates the patterns list in README.md based on the current state of patterns in the repository.
- Updates completion status of patterns
- Adds new patterns
- Updates links to completed patterns
branch: update-patterns-list
base: main
delete-branch: true
labels: |
documentation
automated pr