mirror of
https://github.com/starship/starship.git
synced 2024-11-25 01:33:41 +01:00
ci: Change branch detection method for crowdin (#3502)
This commit is contained in:
parent
f47fdc5912
commit
f4ddaa0d60
2
.github/workflows/format-workflow.yml
vendored
2
.github/workflows/format-workflow.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Prevent File Change
|
- name: Prevent File Change
|
||||||
uses: xalvarez/prevent-file-change-action@v1.2.0
|
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:
|
with:
|
||||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||||
pattern: docs/[a-z][a-z][a-z]?-[A-Z][A-Z]?/.*
|
pattern: docs/[a-z][a-z][a-z]?-[A-Z][A-Z]?/.*
|
||||||
|
Loading…
Reference in New Issue
Block a user