Update bundle_pl.properties and create bundle_uk.properties #60
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: Syntax Checker | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
jobs: | |
check_syntax: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Fetch changed files | |
id: changed_files | |
run: | | |
response=$(curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | |
"https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/files") | |
echo "::set-output name=files::$(echo $response | jq -r '.[].filename')" | |
- name: Check changed files | |
run: node .scripts/check.js ${{ steps.changed_files.outputs.files }} |