Skip to content

feat - create page by action to verify status - (TEST) #11

feat - create page by action to verify status - (TEST)

feat - create page by action to verify status - (TEST) #11

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
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
- uses: actions/setup-node@v2
with:
node-version: '20'
- run: |

Check failure on line 37 in .github/workflows/status-translation.yml

View workflow run for this annotation

GitHub Actions / status-translation

Invalid workflow file

The workflow is not valid. .github/workflows/status-translation.yml (Line: 37, Col: 14): Unexpected symbol: 'GITHUB_REF#refs/heads/'. Located at position 1 within expression: GITHUB_REF#refs/heads/
npm install
npm run verify-translation
# git checkout ${{GITHUB_REF#refs/heads/}}
git config --global user.name ${{ github.event.commits[0].author.name }}
git config --global user.email "carlosstenzel@hotmail.com"
git add .
git status
git commit -m "generated"
git push