🔥 3-day streak
Microsoft DevOps Engineer Expert123 / 138
Question 123 of 138
Your team publishes internal Java libraries to GitHub Packages in the org repository 'contoso/shared-libs'. A separate build project in another repository must consume these Maven packages during its GitHub Actions build. The build fails with a 401 Unauthorized when Maven attempts to download the dependency. You need the consuming workflow to authenticate to the GitHub Packages Maven registry with the least privilege necessary. What should you configure?
Reviewed for accuracy · Report an issueNext question