diff --git a/docker-compose.yaml b/docker-compose.yaml index c09106e..c32c035 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -12,7 +12,7 @@ services: container_name: github-contributors-action environment: - GITHUB_AUTH_TOKEN=${GITHUB_AUTH_TOKEN} - - GITHUB_REPOSITORY=arsulegai/github-contributors-action + - SOURCE_GITHUB_REPOSITORY=arsulegai/github-contributors-action - CONTRIBUTORS_SECTION_PATTERN=# Contributors - CONTRIBUTORS_SECTION_END_PATTERN=## Contributions - INPUT_TEMPLATE_FILE=/templates/minimal.md diff --git a/main.go b/main.go index bc4d2b1..ed6aa89 100644 --- a/main.go +++ b/main.go @@ -56,7 +56,7 @@ func readConfiguration() (Config, error) { // Read inputs from ENV token := getEnvOrDefault("GITHUB_AUTH_TOKEN", "") repo := - getEnvOrDefault("GITHUB_REPOSITORY", + getEnvOrDefault("SOURCE_GITHUB_REPOSITORY", "arsulegai/github-contributors-action") pattern := getEnvOrDefault("CONTRIBUTORS_SECTION_PATTERN", "{{PlaceHolder}}")