Skip to content

Commit

Permalink
refactor: add support for diggers reporting-strategy and post-plans-a…
Browse files Browse the repository at this point in the history
…s-one-comment
  • Loading branch information
pcfreak30 committed Dec 26, 2024
1 parent 2d6d076 commit e4af71a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ inputs:
description: 'project name for digger to run in case of manual mode'
required: false
default: ''
reporting-strategy:
description: 'comments_per_run or latest_run_comment, anything else will default to original behavior of multiple comments'
required: false
default: 'comments_per_run'
post-plans-as-one-comment:
description: Post plans as one comment
required: false
default: 'false'
runs:
using: composite
steps:
Expand Down Expand Up @@ -97,4 +105,6 @@ runs:
SECRETS_CONTEXT: ${{ inputs.secrets-context }}
VARIABLES_CONTEXT: ${{ inputs.variables-context }}
ENV_CONTEXT: ${{ toJson(env) }}
REPORTING_STRATEGY: ${{ inputs.reporting-strategy }}
ACCUMULATE_PLANS: ${{ inputs.post-plans-as-one-comment == 'true' }}
run: ${GITHUB_ACTION_PATH}/setup-env.sh ./digger

0 comments on commit e4af71a

Please sign in to comment.