Skip to content

Feat : Implement sync with Meilisearch using php #55

Feat : Implement sync with Meilisearch using php

Feat : Implement sync with Meilisearch using php #55

name: "Generate README markdown table"
on:
pull_request:
branches:
- main
types:
- closed
jobs:
readme-generator:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Prepare repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
- name: Prepare Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Prepare function
run: |
cd .github/workflows/markdown-table-workflow
npm install
- name: Run function
run: |
cd .github/workflows/markdown-table-workflow
node index.js
- name: Push changes
run: |
git config user.name github-actions
git config user.email [email protected]
git add README.md
git commit -m "Auto: README table generation" || true
git push || true