Skip to content

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher #38452

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher

build(deps): bump axios from 1.12.0 to 1.16.0 in /packages/manager/apps/pci-rancher #38452

name: Check Translations
on:
pull_request:
types: [labeled, opened, reopened, edited, unlabeled, synchronize]
branches:
- 'master'
- 'develop'
- 'release/**'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
check-label:
runs-on: ubuntu-latest
steps:
- name: Check for "translation-required" label
uses: actions/github-script@v6
with:
script: |
const labelToCheck = 'translation required';
const labels = context.payload.pull_request.labels.map(label => label.name);
if (labels.includes(labelToCheck)) {
throw new Error(`The PR needs translations. Otherwise remove the "${labelToCheck}" label.`);
}