From 38f0f3808bbca05e6bbdeafe645ca593a10bdbff Mon Sep 17 00:00:00 2001 From: albanD Date: Mon, 27 Jul 2026 11:19:33 -0400 Subject: [PATCH] Fix generated PR branch collision Both create-pull-request jobs relied on the action's default branch, so the later job force-pushed over the earlier job's generated changes and closed its PR. Give each job a stable, distinct branch so they can maintain independent pull requests. Test Plan: ``` git diff --check python -c "import yaml; yaml.compose(open('\.github/workflows/update-quick-start-module.yml')); print('YAML syntax OK')" ``` This commit was authored with an AI assistant. --- .github/workflows/update-quick-start-module.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-quick-start-module.yml b/.github/workflows/update-quick-start-module.yml index 0a179a4cb0db..9e5aab03190d 100644 --- a/.github/workflows/update-quick-start-module.yml +++ b/.github/workflows/update-quick-start-module.yml @@ -108,6 +108,7 @@ jobs: uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.PYTORCHBOT_TOKEN }} + branch: create-pull-request/update-quick-start commit-message: Modify published_versions.json, releases.json and quick-start-module.js title: '[Getting Started Page] Modify published_versions.json, releases.json and quick-start-module.js' body: > @@ -138,6 +139,7 @@ jobs: uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7 with: token: ${{ secrets.PYTORCHBOT_TOKEN }} + branch: create-pull-request/update-additional-platforms commit-message: Regenerate additional-platforms assets title: '[Additional Platforms] Regenerate quick-start-additional-platforms.js and additional-platforms.json' body: >