Skip to content

Update README with Supported Localization #2

Update README with Supported Localization

Update README with Supported Localization #2

Workflow file for this run

name: Update README with Supported Localization
on:
workflow_dispatch:
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Update README.md
run: node scripts/update-readme.js
- name: Commit changes
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "[email protected]"
git add README.md
git diff --quiet && git diff --staged --quiet || git commit -m "Update README.md with supported localization"
- name: Push changes
run: |
git config --local user.name "GitHub Actions"
git config --local user.email "[email protected]"
git add README.md
git commit -m "Update README.md" || echo "No changes to commit"
git push origin HEAD:${{ github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}