You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "Fatorin (via GitHub)" <gi...@apache.org> on 2026/07/31 17:30:39 UTC

[PR] fix(ci): pass nuget.org username to NuGet login [opendal]

Fatorin opened a new pull request, #8004:
URL: https://github.com/apache/opendal/pull/8004

   # Which issue does this PR close?
   
   <!--
   We generally require a GitHub issue to be filed for all bug fixes and enhancements. You can link an issue to this PR using the GitHub syntax. For example `Closes #123` indicates that this PR will close issue #123.
   -->
   
   None
   
   # Rationale for this change
   
   <!--
   Why are you proposing this change? If this is already explained clearly in the issue then this section is not needed.
   Explaining clearly why changes are proposed helps reviewers understand your changes and offer better suggestions for fixes.
   -->
   
   The NuGet login step fails with HTTP 401: `No matching trust policy owned by user 'Apache.OpenDAL' was found`. The `user` input must be the nuget.org account that created the trusted publishing policy, not the package owner organization.
   
   # What changes are included in this PR?
   
   <!--
   There is no need to duplicate the description in the issue here but it is sometimes worth providing a summary of the individual changes in this PR.
   -->
   
   Pass the policy creator's username via a new `NUGET_USER` secret.
   
   Note for committers: the `NUGET_USER` secret needs to be set before the next release.
   I have verified this setup works on a personal repository.
   
   # Are there any user-facing changes?
   
   None
   
   <!--
   If there are user-facing changes then we may require documentation to be updated before approving the PR.
   -->
   
   <!---
   If there are any breaking changes to public APIs, please add the `breaking-changes` label.
   -->
   
   # AI Usage Statement
   
   <!--
   If you are using AI tools to build this PR, please include a statement specifying the tool and models you are using.
   -->
   
   Written with Claude Code (Opus 5).


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(ci): pass nuget.org username to NuGet login [opendal]

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #8004:
URL: https://github.com/apache/opendal/pull/8004#issuecomment-5148845812

   That's OK. We can see if we could improve it later.


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(ci): pass nuget.org username to NuGet login [opendal]

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun commented on PR #8004:
URL: https://github.com/apache/opendal/pull/8004#issuecomment-5147775515

   @Fatorin if the username is not confidential, perhaps just check in to the codebase?


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(ci): pass nuget.org username to NuGet login [opendal]

Posted by "Fatorin (via GitHub)" <gi...@apache.org>.
Fatorin commented on PR #8004:
URL: https://github.com/apache/opendal/pull/8004#issuecomment-5147962994

   > @Fatorin if the username is not confidential, perhaps just check in to the codebase?
   
   Yes, it's not confidential, so hardcoding would just be `user: Fatorin`.
   
   I'm just not sure if putting my account name in a CI file is fine? 


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(ci): pass nuget.org username to NuGet login [opendal]

Posted by "tisonkun (via GitHub)" <gi...@apache.org>.
tisonkun merged PR #8004:
URL: https://github.com/apache/opendal/pull/8004


-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org