Update check_locales.yml

This commit is contained in:
Ludy87 2025-10-26 11:40:48 +01:00
parent 6c1cfeb7bb
commit fc2c03b5b2
No known key found for this signature in database
GPG Key ID: 92696155E0220F94

View File

@ -34,7 +34,7 @@ jobs:
with:
egress-policy: audit
- name: Checkout main branch first
- name: Checkout V2 branch first
uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955 # v4.3.0
- name: Setup GitHub App Bot
@ -182,12 +182,12 @@ jobs:
const content = Buffer.from(fileContent.content, "base64").toString("utf-8");
fs.writeFileSync(referenceFilePath, content);
} else {
console.log("Using main branch reference file.");
console.log("Using V2 branch reference file.");
const { data: fileContent } = await github.rest.repos.getContent({
owner: repoOwner,
repo: repoName,
path: "frontend/public/locales/en-GB/translation.json",
ref: "main",
ref: "V2",
});
referenceFilePath = "main-branch-messages_en_GB.properties";