diff --git a/.config/dictionaries/project.txt b/.config/dictionaries/project.txt index e69de29..5509f6a 100644 --- a/.config/dictionaries/project.txt +++ b/.config/dictionaries/project.txt @@ -0,0 +1,21 @@ +amannn +aquasecurity +buildx +cpus +dockerhub +dorny +hlag +hmarr +ibiqlik +ludeeus +nullglob +ossrh +releaserc +rhysd +sarif +shellcheck +shuf +shunsuke +temurin +tflint +tfsec diff --git a/.config/dictionaries/workflow.txt b/.config/dictionaries/workflow.txt index 74058c9..b117d27 100644 --- a/.config/dictionaries/workflow.txt +++ b/.config/dictionaries/workflow.txt @@ -1,23 +1,2 @@ -amannn -aquasecurity -buildx codeowners -cpus -dockerhub -dorny hapag -hlag -hmarr -ibiqlik -ludeeus -nullglob -ossrh -releaserc -rhysd -sarif -shellcheck -shuf -shunsuke -temurin -tflint -tfsec diff --git a/.github/update_workflows.sh b/.github/update_workflows.sh index a44e59f..99d9660 100755 --- a/.github/update_workflows.sh +++ b/.github/update_workflows.sh @@ -167,8 +167,9 @@ echo "Updating the workflows in $destination_path" shopt -s nullglob # basic setup for all types -mkdir -p "$destination_path/.github/workflows" +mkdir -p "$destination_path/.github/workflows/scripts" cp .github/workflows/default_* "$destination_path/.github/workflows" +cp .github/workflows/scripts/* "$destination_path/.github/workflows/scripts/" # move the update-workflows.sh script to the correct location (from older releases) if [ -f "$destination_path/update-workflows.sh" ]; then diff --git a/.github/workflows/default_linter_callable.yml b/.github/workflows/default_linter_callable.yml index 6ce5e5b..aaadfb3 100644 --- a/.github/workflows/default_linter_callable.yml +++ b/.github/workflows/default_linter_callable.yml @@ -71,7 +71,6 @@ jobs: lint-markdown: runs-on: ubuntu-latest - continue-on-error: true if: needs.find-changes-for-shell-output.outputs.markdown == 'true' needs: find-changes-for-shell-output steps: @@ -85,7 +84,6 @@ jobs: lint-workflow: runs-on: ubuntu-latest - continue-on-error: true needs: find-changes-for-shell-output if: needs.find-changes-for-shell-output.outputs.workflow == 'true' container: @@ -101,7 +99,6 @@ jobs: lint-yaml: runs-on: ubuntu-latest - continue-on-error: true needs: find-changes-for-shell-output if: needs.find-changes-for-shell-output.outputs.yaml == 'true' steps: @@ -116,7 +113,6 @@ jobs: lint-json: runs-on: ubuntu-latest - continue-on-error: true if: needs.find-changes.outputs.json == 'true' needs: find-changes steps: @@ -131,7 +127,6 @@ jobs: lint-renovate: runs-on: ubuntu-latest - continue-on-error: true if: needs.find-changes.outputs.renovate-config == 'true' needs: find-changes strategy: @@ -155,7 +150,6 @@ jobs: lint-docker: runs-on: ubuntu-latest - continue-on-error: true needs: find-changes if: ${{ needs.find-changes.outputs.dockerfile_files != '[]' && needs.find-changes.outputs.dockerfile_files != '' }} strategy: diff --git a/.github/workflows/default_spelling_callable.yml b/.github/workflows/default_spelling_callable.yml index d91b40f..f5bd6cf 100644 --- a/.github/workflows/default_spelling_callable.yml +++ b/.github/workflows/default_spelling_callable.yml @@ -33,6 +33,5 @@ jobs: - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - - run: .github/workflows/scripts/validate-dictionaries.sh - continue-on-error: true + - run: .github/workflows/scripts/check_dictionaries.sh if: steps.changes-for-shell.outputs.dictionaries == 'true'