From 9e28d8bc0dd30b97575706657dc37d7439f21811 Mon Sep 17 00:00:00 2001 From: Ayush8923 Date: Mon, 25 Nov 2024 13:01:49 +0530 Subject: [PATCH] fix(*): update the workflow indetation --- .github/workflows/sync-translations-poeditor.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/sync-translations-poeditor.yml b/.github/workflows/sync-translations-poeditor.yml index b505181edf..3752494cc0 100644 --- a/.github/workflows/sync-translations-poeditor.yml +++ b/.github/workflows/sync-translations-poeditor.yml @@ -140,11 +140,11 @@ jobs: if (pulls.data.length < 1) { const diff = await github.rest.repos.compareCommits({ - owner, - repo, - base: baseBranch, - head: headBranch, - }); + owner, + repo, + base: baseBranch, + head: headBranch, + }); if (diff.data.commits.length === 0) { return; @@ -157,7 +157,7 @@ jobs: head: headBranch, base: baseBranch, body: [ - '### Description of changes', + "### Description of changes", 'This PR updates translations from POEditor.', 'Generated by GitHub Actions.' ].join('\n'), @@ -169,8 +169,8 @@ jobs: issue_number: result.data.number, labels: ['feature', 'automated pr'], }); - } - else { + + } else { const existingPR = pulls.data[0]; await github.rest.pulls.update({ owner: owner,