Skip to content

Commit

Permalink
pin workflows (#221)
Browse files Browse the repository at this point in the history
  • Loading branch information
anniehedgpeth authored Sep 6, 2023
1 parent 05d1ec4 commit 55b13e8
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/handler-destroy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
azure_public_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main
secrets: inherit
name: Destroy resources from Azure Public Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-public-active-active') }}
Expand All @@ -22,7 +22,7 @@ jobs:
TFC_token_secret_name: PUBLIC_ACTIVE_ACTIVE_TFC_TOKEN

azure_private_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main
secrets: inherit
name: Destroy resources from Azure Private Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-private-active-active') }}
Expand All @@ -37,7 +37,7 @@ jobs:
TFC_token_secret_name: PRIVATE_ACTIVE_ACTIVE_TFC_TOKEN

azure_private_tcp_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main
secrets: inherit
name: Destroy resources from Azure Private TCP Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-private-tcp-active-active') }}
Expand All @@ -52,7 +52,7 @@ jobs:
TFC_token_secret_name: PRIVATE_TCP_ACTIVE_ACTIVE_TFC_TOKEN

azure_standalone_external:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main
secrets: inherit
name: Destroy resources from Azure Standalone External
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-standalone-external') }}
Expand All @@ -74,7 +74,7 @@ jobs:
}\n/'

azure_standalone_mounted_disk:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-destroy.yml@main
secrets: inherit
name: Destroy resources from Azure Standalone Mounted Disk
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'azure-standalone-mounted-disk') }}
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/handler-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
standalone_external:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml@main
secrets: inherit
name: Run tf-test on Azure Standalone External
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'standalone-external') }}
Expand All @@ -30,7 +30,7 @@ jobs:
}\n/'

standalone_mounted_disk:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml@main
secrets: inherit
name: Run tf-test on Azure Standalone Mounted Disk
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'standalone-mounted-disk') }}
Expand All @@ -53,7 +53,7 @@ jobs:
}\n/'

public_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml@main
secrets: inherit
name: Run tf-test on Azure Public Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'public-active-active') }}
Expand All @@ -70,7 +70,7 @@ jobs:
TFC_workspace_substitution_pattern: s/azure-public-active-active/azure-public-active-active/

private_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml@main
secrets: inherit
name: Run tf-test on Azure Private Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'private-active-active') }}
Expand All @@ -88,7 +88,7 @@ jobs:
bastion_ssh_private_key_secret_name: PRIVATE_ACTIVE_ACTIVE_BASTION_SSH_KEY_BASE64

private_tcp_active_active:
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml
uses: hashicorp/terraform-random-tfe-utility/.github/workflows/azure-tests.yml@main
secrets: inherit
name: Run tf-test on Azure Private TCP Active/Active
if: ${{ contains(github.event.client_payload.slash_command.args.unnamed.all, 'all') || contains(github.event.client_payload.slash_command.args.unnamed.all, 'private-tcp-active-active') }}
Expand Down

0 comments on commit 55b13e8

Please sign in to comment.