bump(deps): update dependency @babel/core to ^7.23.2 - autoclosed #7937
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: "Translations" | |
on: | |
workflow_dispatch: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
translations: | |
name: Missing Report | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3 | |
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- run: npm ci | |
- name: Find missing translations | |
id: find_string | |
run: npm run translation:missing | |
- name: Read missing_translations.json | |
id: translations | |
uses: juliangruber/read-file-action@02bbba9876a8f870efd4ad64e3b9088d3fb94d4b # tag=v1.1.6 | |
with: | |
path: ./missing_translations.json | |
- uses: marocchino/sticky-pull-request-comment@f61b6cf21ef2fcc468f4345cdfcc9bda741d2343 # v2.6.2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
header: Missing Translations | |
message: | | |
### Missing Translations Report | |
The following translations are missing for this pull request. | |
```json | |
${{ steps.translations.outputs.content }} | |
``` | |
- name: Send missing translations to Slack workflow | |
if: ${{ fromJson(steps.translations.outputs.content).totalMissingCount != 0 }} | |
uses: slackapi/slack-github-action@e28cf165c92ffef168d23c5c9000cffc8a25e117 # v1.24.0 | |
id: slack_missing_translation_workflow | |
with: | |
payload-file-path: "./missing_translations.json" | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_MISSING_TRANSLATION_WEBHOOK_URL }} |