summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorKevin Song <4605384+chipbuster@users.noreply.github.com>2022-01-25 02:56:07 -0600
committerGitHub <noreply@github.com>2022-01-25 11:56:07 +0300
commitf4ddaa0d60f739e0b7b2358e80bb7fa23afe7fc2 (patch)
tree7cab04fe5e5c95159461bddd4ec4d564ac0bc7d3 /.github
parentf47fdc59120850c9a461a70696850a83c10150fd (diff)
ci: Change branch detection method for crowdin (#3502)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format-workflow.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/format-workflow.yml b/.github/workflows/format-workflow.yml
index 73f906d83..47c4ec3b5 100644
--- a/.github/workflows/format-workflow.yml
+++ b/.github/workflows/format-workflow.yml
@@ -25,7 +25,7 @@ jobs:
steps:
- name: Prevent File Change
uses: xalvarez/prevent-file-change-action@v1.2.0
- if: ${{ env.GITHUB_HEAD_REF != 'i18n_master' }}
+ if: ${{ github.event.pull_request.head.ref != 'i18n_master' }}
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
pattern: docs/[a-z][a-z][a-z]?-[A-Z][A-Z]?/.*