Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add base url variable expected to be exported in the github provider #1

Merged
merged 1 commit into from
Apr 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Acceptance Testing For `terraform-provider-github`
uses: terraformtesting/[email protected]
with:
RUN_FILTER: ${{ env.RUN_FILTER }}
GITHUB_BASE_URL: https://api.github.com/
GITHUB_ORGANIZATION: terraformtesting
GITHUB_TEST_USER: github-terraform-test-user
GITHUB_TEST_USER_NAME: github-terraform-test-user
Expand Down
3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
RUN_FILTER:
description: 'A string to pass to `go test -run` to run a subset of tests'
default: '*'
GITHUB_BASE_URL:
description: 'GitHub base API endpoint used during test runs'
required: true
GITHUB_ORGANIZATION:
description: 'GitHub Organization to run tests against'
required: true
Expand Down
1 change: 1 addition & 0 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

# Parse Action inputs into environment variables
export RUN_FILTER=${INPUT_RUN_FILTER}
export GITHUB_BASE_URL=${INPUT_GITHUB_BASE_URL}
export GITHUB_ORGANIZATION=${INPUT_GITHUB_ORGANIZATION}
export GITHUB_TEST_USER=${INPUT_GITHUB_TEST_USER}
export GITHUB_TEST_USER_TOKEN=${INPUT_GITHUB_TEST_USER_TOKEN}
Expand Down