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