[ 
https://issues.apache.org/jira/browse/HDDS-17507?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18152817#comment-18152817
 ] 

Attila Doroszlai commented on HDDS-17507:
-----------------------------------------

Thanks [~cchung100m],

bq. Does INFRA need to enable anything for staged.apache.org? Is site-name: 
ozone (ozone-pr<N>.staged.apache.org) right?

I don't think so, but we'll see.

bq. Is apache/infrastructure-actions/website-comment/* on the ASF allowlist, and

All {{apache/\*}} actions are allowed.

bq. is the inline zizmor: ignore[dangerous-triggers] on workflow_run acceptable?

Yes, according to 
https://github.com/apache/infrastructure-actions/tree/main/website-comment#security-model

bq. preview-artifact writes preview-meta.json into build/, which I expect to be 
root-owned. Would you prefer a chown step or copying build/ to a separate 
directory?

Sorry, I don't know much about the website build.  If it's root-owned, how does 
the existing build work?  Maybe [~erose] can help answer this.

bq. Do you prefer a tag or a commit SHA for pinning? Existing workflows use 
both.

I prefer major version tag to reduce upgrade commits.

bq. The workflows run from the default branch, so they cannot be tested on the 
PR branch. Do you prefer merging and testing with harmless PR or a fork first?

It can be tested by pushing to fork's default branch, then opening PR against 
that.

> Integrate website-comment action for PR preview
> -----------------------------------------------
>
>                 Key: HDDS-17507
>                 URL: https://issues.apache.org/jira/browse/HDDS-17507
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: website
>            Reporter: Attila Doroszlai
>            Priority: Major
>
> [apache/infrastructure-actions/website-comment|https://github.com/apache/infrastructure-actions/tree/main/website-comment]
>  action can be used to publish a temporary preview of website pull requests.  
> This can help with reviews, we should try it with ozone-site.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to