From c2aa5c2cb86d1066e40a85705fba9fc7ef49bb08 Mon Sep 17 00:00:00 2001 From: Alis Akers <94012653+alismx@users.noreply.github.com> Date: Mon, 4 Nov 2024 17:37:26 -0500 Subject: [PATCH] GitHub action updates (#39) --- .github/workflows/deployment_apply.yaml | 2 +- .github/workflows/deployment_plan.yaml | 2 +- .github/workflows/trivy.yaml | 5 ++++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment_apply.yaml b/.github/workflows/deployment_apply.yaml index 465f33f8..6a159ae3 100644 --- a/.github/workflows/deployment_apply.yaml +++ b/.github/workflows/deployment_apply.yaml @@ -1,5 +1,5 @@ name: Terraform Apply -run-name: Terraform ${{ inputs.terraform_action }} ${{ inputs.workspace }} by @${{ github.actor }} +run-name: Terraform apply ${{ inputs.workspace }} by @${{ github.actor }} on: workflow_dispatch: diff --git a/.github/workflows/deployment_plan.yaml b/.github/workflows/deployment_plan.yaml index 7b58332b..c6af4673 100644 --- a/.github/workflows/deployment_plan.yaml +++ b/.github/workflows/deployment_plan.yaml @@ -1,5 +1,5 @@ name: Terraform Plan -run-name: Terraform ${{ inputs.terraform_action }} ${{ inputs.workspace }} by @${{ github.actor }} +run-name: Terraform plan ${{ inputs.workspace }} by @${{ github.actor }} on: workflow_dispatch: diff --git a/.github/workflows/trivy.yaml b/.github/workflows/trivy.yaml index 7021595f..a3b8ead8 100644 --- a/.github/workflows/trivy.yaml +++ b/.github/workflows/trivy.yaml @@ -1,7 +1,10 @@ -name: trivy +name: Trivy Security Scan on: pull_request: + push: + branches: + - main concurrency: group: ${{ github.workflow }}-${{ github.ref }}