From b444d758ab62224e66b4ffb68b58fcee15c83148 Mon Sep 17 00:00:00 2001 From: David Arnold <10138997+djaboxx@users.noreply.github.com> Date: Wed, 4 Sep 2024 12:05:06 -0700 Subject: [PATCH] Add .github/workflows/modtest-github-repos.yaml --- .github/workflows/modtest-github-repos.yaml | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/modtest-github-repos.yaml diff --git a/.github/workflows/modtest-github-repos.yaml b/.github/workflows/modtest-github-repos.yaml new file mode 100644 index 0000000..9d86471 --- /dev/null +++ b/.github/workflows/modtest-github-repos.yaml @@ -0,0 +1,27 @@ +name: "ModTest: github-repos" + +on: + pull_request: + branches: + - main + +jobs: + modtest: + uses: HappyPathway/centralized-actions/.github/workflows/modtest.yml@main + with: + workspace: github-repos + workspace_repo: github-repos + workspace_branch: main + repo_clone_type: https + mod_source: repo/github + + github_server: ${{vars.GITHUB_SERVER}} + github_org: ${{ github.repository_owner }} + branch: ${{ github.head_ref }} + terraform_version: ${{vars.TERRAFORM_VERSION}} + terraform_api_token_name: ${{ vars.TERRAFORM_API_TOKEN_NAME }} + terraform_api: ${{vars.TERRAFORM_API}} + + secrets: + TFE_TOKEN: ${{ secrets.TFE_TOKEN }} + GH_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file