Skip to content

feat: php/whatsapp_with_vonage #57

feat: php/whatsapp_with_vonage

feat: php/whatsapp_with_vonage #57

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 security@appwrite.io
git add README.md
git commit -m "Auto: README table generation" || true
git push || true