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