Repository navigation
Update workflows - #3462
Update workflows#3462
Conversation
|
@remibetin there's still one tiny comment left but otherwise, the PR looks good to me! |
|
@deniak Which one? Note that I intend to check on a few more things next week. |
Sorry, I forgot to submit the comment: #3462 (review) |
|
@remibetin |
|
One other note ... due to something in this PR, it is now quite a bit more complicated to make a preview for a PR from a fork. I wonder if the changes that create the additional layer of complexity are truly necessary? Here is how I experience the extra complexity. Previously I was able to gen a preview for a PR coming from a fork by:
This is what I did for #3479. While this is a pain compared to previews being auto-generated, it's reasonably efficient and gives me an opportunity to inspect the commits in the incoming PR before pushing them into aria-practices. Now, if I follow the above procedure, the workflow to trigger a preview fails. It doesn't use my branch in aria-practices, it sees the commits as coming from the fork and fails because it says the pull_request_target event event was triggered. For example, look at this run from PR 3487. Look at step2:3 under the 'Run actions/checkout@v5' step. That same step worked fine in PR 3479. Since this PR, the only way I can get that step to pass is to do the following:
This is what I did in #3490. The merge step makes this all feel quite a bit more complex. That seems to be the only way I can avoid the pull_request_target event from being triggered and causing the workflow to fail. Is there a way we can simplify this? |
Thanks for bringing this to my attention! For background, this happened because I had not pinned one action in the |
@mcking65 Thanks for bringing this to our attention. The detailed information is very helpful to investigate. I'll check a few things and come back to you. |
This PR:
checkoutfrom v6 to v7.0.1setup-nodefrom v4 to v7.0.0create-pr-waifor forksThe workflow was tested successfully in forks.
WAI Preview Link (Last built on Wed, 04 Nov 2026 16:58:58 GMT).