From c70b6ae375ee15c2633ab6c7c214eb1fe2d636c8 Mon Sep 17 00:00:00 2001 From: Antoine THEBAUD Date: Wed, 11 Dec 2024 14:43:42 +0100 Subject: [PATCH] consistent naming convention for inputs Signed-off-by: Antoine THEBAUD --- .github/workflows/dac.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dac.yaml b/.github/workflows/dac.yaml index 632ed81..4967217 100644 --- a/.github/workflows/dac.yaml +++ b/.github/workflows/dac.yaml @@ -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 @@ -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 @@ -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