fix: use env var for PR number in shell script; add changelog

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-15 01:31:56 +00:00
committed by GitHub
co-authored by kaovilai
parent 73d079d93d
commit c55559f54d
2 changed files with 4 additions and 1 deletions
+3 -1
View File
@@ -41,10 +41,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Save PR number to artifact
env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
mkdir -p /tmp/pr
# Write only the numeric PR number; the privileged workflow validates this.
printf '%s' '${{ github.event.pull_request.number }}' > /tmp/pr/number
printf '%s' "${PR_NUMBER}" > /tmp/pr/number
- name: Upload PR number artifact
uses: actions/upload-artifact@v4
with:
+1
View File
@@ -0,0 +1 @@
Fix GitHub Actions workflow to re-request maintainer review for fork-originated pull requests using a privilege-separated workflow_run design