1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-26 03:27:30 +00:00

ci: Change branch detection method for crowdin (#3502)

This commit is contained in:
Kevin Song 2022-01-25 02:56:07 -06:00 committed by GitHub
parent f47fdc5912
commit f4ddaa0d60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]?/.*