feat - create page by action to verify status - (TEST) #27
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: status-translation | |
on: | |
pull_request: | |
branches: | |
- gh-pages | |
paths: | |
- 'en/**' | |
- 'de/**' | |
- 'es/**' | |
- 'fr/**' | |
- 'it/**' | |
- 'ja/**' | |
- 'ko/**' | |
- 'pt-br/**' | |
- 'ru/**' | |
- 'sk/**' | |
- 'th/**' | |
- 'tr/**' | |
- 'uk/**' | |
- 'uz/**' | |
- 'zh-cn/**' | |
- 'zh-tw/**' | |
jobs: | |
verify-translation: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
pull-requests: write | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
ref: ${{ github.event.pull_request.head.ref }} | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: | | |
npm run verify-translation | |
git branch --show-current | |
git config --global user.name 'GitHub Actions Bot' | |
git config --global user.email "carlosstenzel@hotmail.com" | |
git add . | |
git status | |
git commit -m "generated" | |
git push | |