sbp commented on issue #275:
URL: 
https://github.com/apache/tooling-trusted-releases/issues/275#issuecomment-3480859371

   The _GitHub repository name_ option in ATR release policies is only used for 
Trusted Publishing. We do not need to know the branch during Trusted Publishing 
because the inputs are built artifacts, so only the builder needs to know the 
branch.
   
   For example, in the `tooling-asf-example` repository we [checkout from 
`main`](https://github.com/apache/tooling-asf-example/blob/15e4ebbefa7be67479f9b49dc0bbb865db93eea7/.github/workflows/build-and-rsync-to-atr.yaml#L19-L23)
 and then build and then upload from `dist/`. If we wanted to checkout from 
another branch instead, we could pass a `ref` attribute to 
[`@actions/checkout`](https://github.com/actions/checkout). All of this happens 
before ATR receives the files, so it does not need to know the branch.
   
   Similarly, PyPI does not ask for a branch during its Trusted Publishing 
configuration.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to