Skip to content

Commit

Permalink
Add .github/workflows/modtest-dev.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
David Arnold committed Feb 26, 2025
1 parent c36493e commit 6b76476
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/modtest-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "ModTest: dev"

on:
pull_request:
push:
branches:
- main

jobs:
modtest:
if : ${{ github.event_name }} == "pull_request"
uses: HappyPathway/centralized-actions/.github/workflows/modtest.yml@main
with:
workspace: dev
workspace_repo: github-repos
workspace_branch: main
repo_clone_type: https
mod_source: repo/github

github_server: ${{vars.GH_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 6b76476

Please sign in to comment.