File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9292 echo "All compatibility checks passed."
9393
9494 - name : Create PR for pin update
95+ id : create_pin_pr
9596 if : steps.update.outputs.changed == 'true'
97+ continue-on-error : true
9698 uses : peter-evans/create-pull-request@v7
9799 with :
98100 token : ${{ github.token }}
@@ -111,3 +113,19 @@ jobs:
111113 branch : auto/qpk-pin-update
112114 delete-branch : true
113115 base : main
116+
117+ - name : Report blocked pin PR creation
118+ if : steps.update.outputs.changed == 'true' && steps.create_pin_pr.outcome == 'failure'
119+ run : |
120+ cat >> "$GITHUB_STEP_SUMMARY" <<'MD'
121+ ## QPK pin update PR not created
122+
123+ The generated `QPK_PIN` / `constraints.txt` update was verified, but repository policy prevented `GITHUB_TOKEN` from creating a pull request.
124+
125+ Manual follow-up:
126+ - Enable the repository setting that allows GitHub Actions to create pull requests, or
127+ - Run the pin update manually from a reviewed maintainer branch.
128+
129+ This workflow intentionally does not fall back to a PAT-based bypass.
130+ MD
131+ echo "::warning::QPK pin update PR was not created because repository policy blocks GitHub Actions PR creation."
You can’t perform that action at this time.
0 commit comments