Skip to content

Commit

Permalink
Move all templates workflows to .github/workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Nicolaie <alexandre.nicolaie@gmail.com>
  • Loading branch information
xunleii committed Nov 11, 2023
1 parent 2ffa9aa commit b8c94d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/terraform.lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ permissions:
jobs:
terraform-module-k3s:
name: Terraform module
uses: ./.github/workflows/templates/terraform.pull_requests.lint.yaml
uses: ./.github/workflows/templates.terraform.pull_requests.lint.yaml

examples_hcloud-k3s:
name: Hetzner Cloud
needs: [terraform-module-k3s]
uses: ./.github/workflows/templates/terraform.pull_requests.lint.yaml
uses: ./.github/workflows/templates.terraform.pull_requests.lint.yaml
with:
terraform_workdir: examples/hcloud-k3s

examples_civo-k3s:
name: CIVO
needs: [terraform-module-k3s]
uses: ./.github/workflows/templates/terraform.pull_requests.lint.yaml
uses: ./.github/workflows/templates.terraform.pull_requests.lint.yaml
with:
terraform_workdir: examples/civo-k3s
2 changes: 1 addition & 1 deletion .github/workflows/terraform.plan.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
secrets:
env: |
HCLOUD_TOKEN: ${{ secrets.HCLOUD_TOKEN }}
uses: ./.github/workflows/templates/terraform.pull_requests.plan.yaml
uses: ./.github/workflows/templates.terraform.pull_requests.plan.yaml
with:
terraform_vars: |
ssh_key: ''
Expand Down

0 comments on commit b8c94d1

Please sign in to comment.