chore(translations): PR will be draft, no longer limited to only main [no changelog]
What changed, and why it matters
This is a routine GitHub workflow change for managing translation updates. It removes a restriction that previously allowed the workflow to run only from the 'main' branch, and it makes the automatically created pull request a draft instead of a normal one. There is no security relevance in the code change itself.
No security action needed. Review as normal CI/CD maintenance if desired.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The commit modifies .github/workflows/crowdin-pull.yml. It removes the condition if: github.ref_name == 'main' so the crowdin-pull-and-pr job can run when dispatched from any branch. It also adds draft: true to the peter-evans/create-pull-request step so the resulting PR is created as a draft. These are CI/CD behavior changes for translation synchronization, not a vulnerability fix or security feature.
Changed components
.github/workflows/crowdin-pull.ymlInspect captured patch +1 / −1
diff --git a/.github/workflows/crowdin-pull.yml b/.github/workflows/crowdin-pull.yml
index d52909f1..eef541c6 100644
--- a/.github/workflows/crowdin-pull.yml
+++ b/.github/workflows/crowdin-pull.yml
@@ -24,7 +24,6 @@ concurrency:
jobs:
crowdin-pull-and-pr:
- if: github.ref_name == 'main' # run only when dispatched from main
runs-on: ubuntu-latest
steps:
- name: Checkout
@@ -74,6 +73,7 @@ jobs:
[no changelog]
title: "Crowdin translations update"
body: "Automated update of translations pulled from Crowdin."
+ draft: true
branch: ci/crowdin-sync-${{ github.ref_name }}-${{ github.run_id }}
base: ${{ github.ref_name }}
labels: translations
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.