Skip to content

Commit

Permalink
consistent naming convention for inputs
Browse files Browse the repository at this point in the history
Signed-off-by: Antoine THEBAUD <[email protected]>
  • Loading branch information
Antoine THEBAUD committed Dec 11, 2024
1 parent b0edc84 commit c70b6ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/dac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ on:
type: string
required: false
# skip:
skip_preview:
skip-preview:
description: Skip the dashboard preview stage if provided.
type: boolean
required: false
skip_diff:
skip-diff:
description: Skip the dashboard diff generation stage if provided.
type: boolean
required: false
skip_deploy:
skip-deploy:
description: Skip the dashboard deployment stage if provided.
type: boolean
required: false
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
online: ${{ inputs.server-validation }}

- name: Preview the dashboards
if: ${{ github.event_name == 'pull_request' && !inputs.skip_preview }}
if: ${{ github.event_name == 'pull_request' && !inputs.skip-preview }}
uses: ./actions/preview_dashboards
with:
directory: ./built
Expand All @@ -129,14 +129,14 @@ jobs:
ttl: ${{ inputs.ttl }}

- name: Generate dashboards diffs
if: ${{ github.event_name == 'pull_request' && !inputs.skip_diff }}
if: ${{ github.event_name == 'pull_request' && !inputs.skip-diff }}
uses: ./actions/diff_dashboards
with:
directory: ./built
project: ${{ inputs.project }}

- name: Deploy the dashboards
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && !inputs.skip_deploy }}
if: ${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && !inputs.skip-deploy }}
uses: ./actions/apply_resources
with:
directory: ./built
Expand Down

0 comments on commit c70b6ae

Please sign in to comment.