On demand Plan test for PR - (#13) fix(modules/panorama): Use of an already reserved external IP #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ChatOPS Plan | |
run-name: "On demand Plan test for PR - (#${{ github.event.inputs.pr-id }}) ${{ github.event.inputs.pr-title }}" | |
permissions: | |
contents: read | |
concurrency: chatops-plan | |
on: | |
workflow_dispatch: | |
inputs: | |
paths: | |
description: Space delimited list of module paths to test | |
type: string | |
required: true | |
tf_version: | |
description: Terraform versions to use for tests, comma-separated list | |
type: string | |
pr-id: | |
description: ID of the PR that triggered this workflow | |
type: string | |
required: true | |
pr-title: | |
description: Title of the PR that triggered this workflow | |
type: string | |
required: true | |
comment-id: | |
description: "The comment-id of the slash command" | |
type: string | |
required: true | |
branch: | |
description: Branch on which the tests should run | |
type: string | |
default: main | |
repository: | |
description: Repository on which the tests should run | |
type: string | |
required: false | |
jobs: | |
test: | |
name: Run plan test | |
permissions: | |
contents: read | |
pull-requests: write | |
id-token: write | |
uses: PaloAltoNetworks/terraform-modules-swfw-ci-workflows/.github/workflows/test_command.yml@v2.3 | |
secrets: inherit | |
with: | |
cloud: gcp | |
paths: ${{ inputs.paths }} | |
tf_version: ${{ inputs.tf_version }} | |
pr-id: ${{ inputs.pr-id }} | |
comment-id: ${{ inputs.comment-id }} | |
branch: ${{ inputs.branch }} | |
repository: ${{ inputs.repository }} | |
terratest_action: Plan |