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

Co-authored-by: kaovilai <11228024+kaovilai@users.noreply.github.com>
Signed-off-by: Tiger Kaovilai <tkaovila@redhat.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-08-26 10:23:47 -04:00
committed by Tiger Kaovilai
co-authored by kaovilai
parent e9e0926d17
commit b85fd7b2ee
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