This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/attic.git


The following commit(s) were added to refs/heads/main by this push:
     new e61b967  Trigger site build for PRs [skip ci]
e61b967 is described below

commit e61b96709f14751c732a863ff6faa0b66057daf4
Author: Sebb <s...@apache.org>
AuthorDate: Sun May 4 14:27:28 2025 +0100

    Trigger site build for PRs [skip ci]
---
 .github/workflows/retire.yml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/.github/workflows/retire.yml b/.github/workflows/retire.yml
index e3d29f8..9ab808c 100644
--- a/.github/workflows/retire.yml
+++ b/.github/workflows/retire.yml
@@ -36,6 +36,7 @@ on:
 permissions:
   contents: write
   pull-requests: write
+  actions: write
 
 jobs:
   create-pull-request:
@@ -77,7 +78,10 @@ jobs:
           git commit -m"Retire $PID"
           # This will fail if there is an existing branch and PR
           git push --set-upstream origin retire-$PID
+          # Generate the PR
           {
             echo "Please review the PR!"
             echo "${{ github.event.inputs.comment }}"
           } | gh pr create --title "Retire $PID" --body-file - --base main 
--head retire-$PID
+          # Trigger the site build
+          gh workflow run website.yml --ref retire-$PID

Reply via email to