Skip to content

Commit

Permalink
Add .github/workflows/modtest-github-repos.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold committed Sep 4, 2024
1 parent 20d3b83 commit b444d75
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/modtest-github-repos.yaml
Original file line number Diff line number Diff line change
@@ -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 }}

0 comments on commit b444d75

Please sign in to comment.