Skip to content

Update issue-sync.yml #4324

Update issue-sync.yml

Update issue-sync.yml #4324

Workflow file for this run

name: Compile Localization Files
on:
push:
branches:
- main
jobs:
run:
name: Compile Localization Files
runs-on: ubuntu-latest
if: contains(github.event.head_commit.message, 'Localized file check-in by OneLocBuild Task')
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
token: ${{ secrets.AUTOMATION_PAT }}
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 20.x
- uses: pnpm/action-setup@v3
with:
version: 9.1.3
run_install: |
- recursive: true
args: [--frozen-lockfile, --strict-peer-dependencies]
- name: Update source code
run: npm run compile:loc
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
author_name: Loc Bot
author_email: travisharris@microsoft.com
message: 'Compiling Loc Files'
add: '*.json'