Skip to content

Commit

Permalink
Update GitHub credentials to use environment variables
Browse files Browse the repository at this point in the history
Replaced hardcoded GitHub username with environment variable `GITHUB_ACTOR`. This improves security by preventing the exposure of sensitive information in the codebase.
  • Loading branch information
ThePandaOliver committed Aug 23, 2024
1 parent 57be8ea commit da09706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ subprojects {
name = "Github"
url = uri("https://maven.pkg.github.com/${properties["publishingGitHubRepo"]}")
credentials {
username = "PandaDap2006"
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
Expand Down

0 comments on commit da09706

Please sign in to comment.