mirror of
https://github.com/starship/starship.git
synced 2026-06-21 02:02:14 +07:00
ci: Change branch detection method for crowdin (#3502)
This commit is contained in:
@@ -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]?/.*
|
||||
|
||||
Reference in New Issue
Block a user