Skip to content

Conversation

@validcube
Copy link
Member

@validcube validcube commented Jan 8, 2026

Switch to PasswordCredentials when during authentication with ghcr

nts:

githubPackagesUsername=
githubPackagesPassword=

List of what repository have PR submitted see: ReVanced/revanced-manager-downloader-template#16 (comment)

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR modernizes the Gradle authentication system by switching from manually configured credentials to Gradle's built-in PasswordCredentials system for accessing GitHub Packages.

Key changes:

  • Updated build.gradle.kts to use credentials(PasswordCredentials::class) instead of manual credential configuration
  • Modified GitHub Actions workflows to use standardized Gradle project properties via environment variables
  • Added repository name to enable proper credential discovery

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 4 comments.

File Description
build.gradle.kts Replaced manual credential configuration with PasswordCredentials system and added repository name
.github/workflows/release.yml Updated environment variables to use ORG_GRADLE_PROJECT_ prefix for Gradle property injection
.github/workflows/build_pull_request.yml Updated environment variables to use ORG_GRADLE_PROJECT_ prefix for Gradle property injection

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant