diff options
author | Kevin Song <4605384+chipbuster@users.noreply.github.com> | 2022-01-25 02:56:07 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 11:56:07 +0300 |
commit | f4ddaa0d60f739e0b7b2358e80bb7fa23afe7fc2 (patch) | |
tree | 7cab04fe5e5c95159461bddd4ec4d564ac0bc7d3 /.github | |
parent | f47fdc59120850c9a461a70696850a83c10150fd (diff) |
ci: Change branch detection method for crowdin (#3502)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/format-workflow.yml | 2 |
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]?/.* |