mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-10-07 15:08:56 +00:00
23 lines
686 B
YAML
23 lines
686 B
YAML
name: Terraform CI
|
|
on:
|
|
pull_request:
|
|
branches: [main, hotfix/**, release/**]
|
|
merge_group:
|
|
push:
|
|
branches: [hotfix/**, release/**]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
select-runner:
|
|
# Picks GitHub-hosted while Actions is operational, the org self-hosted
|
|
# runner otherwise. See callable-select-runner.yaml for the policy.
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/callable-select-runner.yaml@REPLACE-ME # vX.Y.Z
|
|
|
|
terraform:
|
|
needs: select-runner
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/ci-terraform.yaml@REPLACE-ME # vX.Y.Z
|
|
with:
|
|
runner: ${{ needs.select-runner.outputs.runner }}
|
|
terraform-version: "1.16.0"
|