Bumps the github-actions-updates group with 2 updates: [github/codeql-action](https://github.com/github/codeql-action) and [tj-actions/changed-files](https://github.com/tj-actions/changed-files).
Updates `github/codeql-action` from 3.27.5 to 3.27.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Commits](https://github.com/github/codeql-action/compare/v3.27.5...v3.27.6)
Updates `tj-actions/changed-files` from 45.0.4 to 45.0.5
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](4edd678ac3...bab30c2299)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: github-actions-updates
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-patch
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>
31 строка
1014 B
YAML
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@bab30c2299617f6615ec02a68b9a40d10bd21366 # v45.0.5
|
|
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
|