Skip to content

Commit

Permalink
Merge pull request #5 from arsulegai/rename
Browse files Browse the repository at this point in the history
Change the default GitHub action env name
  • Loading branch information
arsulegai authored Apr 25, 2021
2 parents de11e4b + f339852 commit 80b41a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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}}")
Expand Down

0 comments on commit 80b41a2

Please sign in to comment.