[Sync-En] mbstring: factor out encoding-invalid error and changelog entities #834
Workflow file for this run
This file contains hidden or 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: "Style" | |
| on: | |
| pull_request: | |
| types: [opened, synchronize] | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-style: | |
| name: "Check Translations" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 | |
| - name: "Get changed XML files" | |
| id: changed | |
| run: | | |
| files=$(git diff --name-only --diff-filter=ACMR ${{ github.event.pull_request.base.sha }}...${{ github.event.pull_request.head.sha }} -- '*.xml' | tr '\n' ' ') | |
| echo "files=$files" >> "$GITHUB_OUTPUT" | |
| - name: "Check style rules" | |
| if: steps.changed.outputs.files != '' | |
| run: node .github/scripts/check-style-fr.mjs ${{ steps.changed.outputs.files }} |