diff --git a/.github/workflows/__greetings.yml b/.github/workflows/__greetings.yml index fa0b0a0..831efe7 100644 --- a/.github/workflows/__greetings.yml +++ b/.github/workflows/__greetings.yml @@ -13,4 +13,4 @@ permissions: jobs: greetings: - uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 diff --git a/.github/workflows/__main-ci.yml b/.github/workflows/__main-ci.yml index 1bfcabb..c175bab 100644 --- a/.github/workflows/__main-ci.yml +++ b/.github/workflows/__main-ci.yml @@ -32,7 +32,7 @@ jobs: release: needs: ci if: github.event_name != 'schedule' - uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@7ce3b41507f05379e3658efe955327873c2654b4 # 0.7.1 + uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@6d9e5d48da1a80c085e8ed867d680a5e99b28217 # 0.8.0 with: update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }} github-app-id: ${{ vars.CI_BOT_APP_ID }} diff --git a/.github/workflows/__need-fix-to-issue.yml b/.github/workflows/__need-fix-to-issue.yml index 667e4f5..231140a 100644 --- a/.github/workflows/__need-fix-to-issue.yml +++ b/.github/workflows/__need-fix-to-issue.yml @@ -24,7 +24,7 @@ concurrency: jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 with: manual-commit-ref: ${{ inputs.manual-commit-ref }} manual-base-ref: ${{ inputs.manual-base-ref }} diff --git a/.github/workflows/__shared-ci.yml b/.github/workflows/__shared-ci.yml index 156b80e..d48b405 100644 --- a/.github/workflows/__shared-ci.yml +++ b/.github/workflows/__shared-ci.yml @@ -13,7 +13,7 @@ permissions: jobs: linter: - uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 test-action-dependencies-cache: name: Test action "dependencies-cache" diff --git a/.github/workflows/__stale.yml b/.github/workflows/__stale.yml index d9f8254..bfb21c2 100644 --- a/.github/workflows/__stale.yml +++ b/.github/workflows/__stale.yml @@ -10,4 +10,4 @@ permissions: jobs: main: - uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + uses: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 diff --git a/.github/workflows/__test-action-has-installed-dependencies.yml b/.github/workflows/__test-action-has-installed-dependencies.yml index 3fa6f5f..8aebe2d 100644 --- a/.github/workflows/__test-action-has-installed-dependencies.yml +++ b/.github/workflows/__test-action-has-installed-dependencies.yml @@ -65,7 +65,7 @@ jobs: const installedDependenciesOutput = `${{ steps.has-installed-dependencies.outputs.installed-dependencies }}`; assert(installedDependenciesOutput.length, `"installed-dependencies" output is empty`); - // Check if is valid Json + // Check if is valid JSON let installedDependencies = null; try { installedDependencies = JSON.parse(installedDependenciesOutput); diff --git a/.github/workflows/continuous-integration.md b/.github/workflows/continuous-integration.md index 4191202..1524aa9 100644 --- a/.github/workflows/continuous-integration.md +++ b/.github/workflows/continuous-integration.md @@ -47,7 +47,7 @@ jobs: | **Input** | **Description** | **Type** | **Default** | **Required** | | ------------------------- | ------------------------------------------------------------------------- | -------------------- | ------------------------- | ------------ | -| **build** | Build parameters. Must be a string or a json array of strings or object. | string | build | **false** | +| **build** | Build parameters. Must be a string or a JSON array of strings or object. | string | build | **false** | | **checks** | Optional flag to enable check steps. | boolean | true | **false** | | **code-ql** | Code QL analysis language. See . | string | `typescript` | **false** | | **lint** | Optional flag to enable linting. | boolean | true | **false** | @@ -56,7 +56,7 @@ jobs: ### `build` input parameters -When `build` is a json object, the following parameters are supported: +When `build` is a JSON object, the following parameters are supported: | **Input** | **Description** | **Type** | **Default** | **Required** | | ---------- | -------------------------------------------------------------------------------------------------------- | ------------------ | ----------- | ------------ | diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 3eca9c0..58395e1 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -66,11 +66,11 @@ jobs: security-events: write runs-on: "ubuntu-latest" steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 - - uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 + - uses: github/codeql-action/init@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 with: languages: ${{ inputs.code-ql }} - - uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 + - uses: github/codeql-action/analyze@96f518a34f7a870018057716cc4d7a5c014bd61c # v3.29.10 dependency-review: name: 🛡️ Dependency Review @@ -79,8 +79,8 @@ jobs: contents: read runs-on: "ubuntu-latest" steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 - - uses: actions/dependency-review-action@da24556b548a50705dd671f47852072ea4c105d9 # v4.7.1 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 + - uses: actions/dependency-review-action@bc41886e18ea39df68b1b1245f4184881938e050 # v4.7.2 setup: name: ⚙️ Setup @@ -93,7 +93,7 @@ jobs: build-commands: ${{ steps.build-variables.outputs.commands }} build-artifact: ${{ steps.build-variables.outputs.artifact }} steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 # FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659 # jscpd:ignore-start @@ -168,7 +168,7 @@ jobs: contents: read id-token: write steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 # FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659 - id: oidc @@ -202,7 +202,7 @@ jobs: contents: read id-token: write steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 if: needs.setup.outputs.build-commands # FIXME: This is a workaround for having workflow ref. See https://github.com/orgs/community/discussions/38659 @@ -263,7 +263,7 @@ jobs: contents: read id-token: write steps: - - uses: hoverkraft-tech/ci-github-common/actions/checkout@6857ef6d10f704e0998aa4955282f27d1b9be778 # 0.23.1 + - uses: hoverkraft-tech/ci-github-common/actions/checkout@b4883995e100e291a1fed68678d47a560328ed08 # 0.24.0 - if: needs.setup.outputs.build-artifact uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0 diff --git a/Makefile b/Makefile index 810de72..02bf745 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 \ diff --git a/actions/dependencies-cache/action.yml b/actions/dependencies-cache/action.yml index 67b0a96..f62cd57 100644 --- a/actions/dependencies-cache/action.yml +++ b/actions/dependencies-cache/action.yml @@ -36,7 +36,7 @@ runs: - name: ♻️ NX cache if: fromJson(steps.has-installed-dependencies.outputs.installed-dependencies).nx == true - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ inputs.working-directory }}/node_modules/.cache/nx key: ${{ runner.os }}-cache-nx-${{ github.sha }} @@ -45,7 +45,7 @@ runs: - name: ♻️ Prettier cache if: fromJson(steps.has-installed-dependencies.outputs.installed-dependencies).prettier == true - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ inputs.working-directory }}/node_modules/.cache/prettier key: ${{ runner.os }}-cache-prettier-${{ github.sha }} @@ -54,7 +54,7 @@ runs: - name: ♻️ Gatsby cache if: fromJson(steps.has-installed-dependencies.outputs.installed-dependencies).gatsby == true - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: | ${{ inputs.working-directory }}/.cache @@ -65,7 +65,7 @@ runs: - name: ♻️ Storybook cache if: fromJson(steps.has-installed-dependencies.outputs.installed-dependencies).storybook == true - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ inputs.working-directory }}/node_modules/.cache/storybook key: ${{ runner.os }}-cache-storybook-${{ github.sha }} @@ -107,7 +107,7 @@ runs: - name: ♻️ Test cache if: steps.jest-cache-dir-path.outputs.dir - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 # v4.2.3 + uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4 with: path: ${{ steps.jest-cache-dir-path.outputs.dir }} key: ${{ runner.os }}-test-${{ github.sha }}