diff --git a/.github/workflows/greetings.md b/.github/workflows/greetings.md index 137d5770..8171bed6 100644 --- a/.github/workflows/greetings.md +++ b/.github/workflows/greetings.md @@ -76,7 +76,7 @@ jobs: | **Input** | **Description** | **Default** | **Type** | **Required** | | ------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------- | -------- | ------------ | -| **runs-on** | Json array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | +| **runs-on** | JSON array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | | **issue-message** | Comment to post on an individual's first issue. See . | Hi, thank for reporting an issue, we will check it out very soon | `string` | **false** | | **pr-message** | Comment to post on an individual's first pull request. See . | Hi, thank you for creating your PR, we will check it out very soon | `string` | **false** | diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 9c0dabb9..09ec6a47 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -16,7 +16,7 @@ on: workflow_call: inputs: runs-on: - description: "Json array of runner(s) to use. See ." + description: "JSON array of runner(s) to use. See ." type: string default: '["ubuntu-latest"]' required: false diff --git a/.github/workflows/linter.md b/.github/workflows/linter.md index 28302a41..e789cc47 100644 --- a/.github/workflows/linter.md +++ b/.github/workflows/linter.md @@ -95,7 +95,7 @@ jobs: | **Input** | **Description** | **Default** | **Type** | **Required** | | --------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- | --------- | ------------ | -| **runs-on** | Json array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | +| **runs-on** | JSON array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | | **linter-env** | Environment variables in multilines format "key=value" to pass to the linter. See . | .github/workflows\nactions | `string` | **false** | | **codeql-languages** | JSON array of languages to analyze with CodeQL. See . Leave empty to disable the check. | ["actions"] | `string` | **false** | | **action-files** | List of files or directories where GitHub Actions and workflows are located. Supports glob patterns. Leave empty to disable the check. | ./action.yml\n./.github/workflows/\*\*/\*.yml\n./actions/\*\*/\*.yml | `string` | **false** | diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 49b86b65..cf707111 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -10,7 +10,7 @@ on: workflow_call: inputs: runs-on: - description: "Json array of runner(s) to use. See ." + description: "JSON array of runner(s) to use. See ." type: string required: false default: '["ubuntu-latest"]' @@ -88,7 +88,7 @@ jobs: LOG_LEVEL: WARN DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} GITHUB_TOKEN: ${{ secrets.github-token || github.token }} - KUBERNETES_KUBECONFORM_OPTIONS: "--schema-location default --schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json'" + IGNORE_GITIGNORED_FILES: "true" codeql: if: ${{ inputs.codeql-languages }} diff --git a/.github/workflows/need-fix-to-issue.md b/.github/workflows/need-fix-to-issue.md index 0d49e75f..9477ac86 100644 --- a/.github/workflows/need-fix-to-issue.md +++ b/.github/workflows/need-fix-to-issue.md @@ -61,7 +61,7 @@ jobs: | **Input** | **Description** | **Default** | **Type** | **Required** | | ---------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- | ----------------------------- | -------- | ------------ | -| **runs-on** | Json array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | +| **runs-on** | JSON array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | | **manual-commit-ref** | The SHA of the commit to get the diff for. | | `string` | **false** | | **manual-base-ref** | By default, the commit entered above is compared to the one directly before it; to go back further, enter an earlier SHA here for. | | `string` | **false** | diff --git a/.github/workflows/need-fix-to-issue.yml b/.github/workflows/need-fix-to-issue.yml index d069de4c..a5da1b05 100644 --- a/.github/workflows/need-fix-to-issue.yml +++ b/.github/workflows/need-fix-to-issue.yml @@ -20,7 +20,7 @@ on: workflow_call: inputs: runs-on: - description: "Json array of runner(s) to use. See ." + description: "JSON array of runner(s) to use. See ." type: string default: '["ubuntu-latest"]' required: false diff --git a/.github/workflows/semantic-pull-request.md b/.github/workflows/semantic-pull-request.md index 498f9e25..0b54a711 100644 --- a/.github/workflows/semantic-pull-request.md +++ b/.github/workflows/semantic-pull-request.md @@ -65,7 +65,7 @@ jobs: | **Input** | **Description** | **Default** | **Type** | **Required** | | ------------------------ | ------------------------------------------------------------------------------------------------------------------ | ----------------------------- | -------- | ------------ | -| **runs-on** | Json array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | +| **runs-on** | JSON array of runner(s) to use. See . | ["ubuntu-latest"] | `string` | **false** | diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 47a9558f..0c1ed2d0 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -17,7 +17,7 @@ on: workflow_call: inputs: runs-on: - description: "Json array of runner(s) to use. See ." + description: "JSON array of runner(s) to use. See ." required: false type: string default: '["ubuntu-latest"]' diff --git a/.github/workflows/stale.md b/.github/workflows/stale.md index a2407b5d..0223e99b 100644 --- a/.github/workflows/stale.md +++ b/.github/workflows/stale.md @@ -70,7 +70,7 @@ jobs: | **Input** | **Description** | **Default** | **Required** | | ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------- | ------------ | -| **runs-on** | Json array of runner(s) to use. See [https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job](https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job) | ["ubuntu-latest"] | **false** | +| **runs-on** | JSON array of runner(s) to use. See [https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job](https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job) | ["ubuntu-latest"] | **false** | | **stale-issue-message** | Comment on the staled issues. See [https://github.com/actions/stale#stale-issue-message](https://github.com/actions/stale#stale-issue-message) | This issue is stale | **false** | | **stale-pr-message** | Comment on the staled PRs. See [https://github.com/actions/stale#stale-pr-message](https://github.com/actions/stale#stale-pr-message) | This PR is stale | **false** | | **stale-issue-label** | Label to apply on staled issues. See [https://github.com/actions/stale#stale-issue-label](https://github.com/actions/stale#stale-issue-label) | no-issue-activity | **false** | diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 12cc89b9..7d6380c2 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -12,7 +12,7 @@ on: workflow_call: inputs: runs-on: - description: "Json array of runner(s) to use. See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job" + description: "JSON array of runner(s) to use. See https://docs.github.com/en/actions/using-jobs/choosing-the-runner-for-a-job" type: string default: '["ubuntu-latest"]' required: false diff --git a/Dockerfile b/Dockerfile index c3ba9a04..0456d588 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ #checkov:skip=CKV_DOCKER_2: required -FROM ghcr.io/super-linter/super-linter:slim-v7 +FROM ghcr.io/super-linter/super-linter:slim-v8 ARG UID=1000 ARG GID=1000 diff --git a/Makefile b/Makefile index 810de72a..02bf7455 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,6 @@ lint-fix: ## Execute linting and fix $(call run_linter, \ -e FIX_JSON_PRETTIER=true \ -e FIX_JAVASCRIPT_PRETTIER=true \ - -e FIX_JAVASCRIPT_STANDARD=true \ -e FIX_YAML_PRETTIER=true \ -e FIX_MARKDOWN=true \ -e FIX_MARKDOWN_PRETTIER=true \ @@ -25,7 +24,6 @@ define run_linter -e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \ -e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \ -e IGNORE_GITIGNORED_FILES=true \ - -e KUBERNETES_KUBECONFORM_OPTIONS="--schema-location default --schema-location 'https://raw.githubusercontent.com/datreeio/CRDs-catalog/main/{{.Group}}/{{.ResourceKind}}_{{.ResourceAPIVersion}}.json'" \ $(1) \ -v $$VOLUME \ --rm \