Files
mostlymatter/.github/workflows/i18n-ci-template.yml
dependabot[bot] a8a2ae3af0 Bump the github-actions-updates group with 2 updates (#30997)
Bumps the github-actions-updates group with 2 updates: [tj-actions/changed-files](https://github.com/tj-actions/changed-files) and [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials).


Updates `tj-actions/changed-files` from 4168bb487d5b82227665ab4ec90b67ce02691741 to 480f49412651059a414a6a5c96887abb1877de8a
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](4168bb487d...480f494126)

Updates `aws-actions/configure-aws-credentials` from 4.1.0 to 4.2.0
- [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases)
- [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md)
- [Commits](ececac1a45...f24d7193d9)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-version: 480f49412651059a414a6a5c96887abb1877de8a
  dependency-type: direct:production
  dependency-group: github-actions-updates
- dependency-name: aws-actions/configure-aws-credentials
  dependency-version: 4.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions-updates
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-05-13 08:30:50 +03:00

31 строка
1014 B
YAML

# Base CI template which is called from i18n-ci-pr.yml
name: i18n CI Template
on:
workflow_call:
jobs:
check-files:
name: Check only English translation files changed
runs-on: ubuntu-22.04
if: github.event.pull_request.user.login != 'weblate' # Allow weblate to modify non-English
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@480f49412651059a414a6a5c96887abb1877de8a # v45.0.7
with:
files: |
server/i18n/*.json
webapp/channels/src/i18n/*.json
!server/i18n/en.json
!webapp/channels/src/i18n/en.json
- name: Check changed files
if: steps.changed-files.outputs.any_changed == 'true'
run: |
echo "::error title=Non-English i18n files changed::Only PRs from weblate should modify non-English translation files."
exit 1