Browse Source

Merge remote-tracking branch 'origin/develop' into develop

pull/4913/head
Daniel Gibbs 1 month ago
parent
commit
25ff41b6bc
Failed to extract signature
  1. 56
      .devcontainer/devcontainer.json
  2. 6
      .github/workflows/action-super-linter.yml
  3. 2
      .prettierrc.json
  4. 20
      .vscode/extensions.json

56
.devcontainer/devcontainer.json

@ -1,30 +1,30 @@
{ {
"name": "BASH Dev Container", "name": "BASH Dev Container",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu", "image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": { "features": {
"ghcr.io/devcontainers-community/npm-features/prettier:1": { "ghcr.io/devcontainers-community/npm-features/prettier:1": {
"plugins": "prettier-plugin-sh" "plugins": "prettier-plugin-sh"
}, },
"ghcr.io/devcontainers-extra/features/actionlint:1": {}, "ghcr.io/devcontainers-extra/features/actionlint:1": {},
"ghcr.io/devcontainers-extra/features/checkov:1": {}, "ghcr.io/devcontainers-extra/features/checkov:1": {},
"ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {}, "ghcr.io/devcontainers-extra/features/markdownlint-cli:1": {},
"ghcr.io/devcontainers-extra/features/shellcheck:1": {}, "ghcr.io/devcontainers-extra/features/shellcheck:1": {},
"ghcr.io/devcontainers-extra/features/yamllint:2": {}, "ghcr.io/devcontainers-extra/features/yamllint:2": {},
"ghcr.io/devcontainers/features/github-cli:1": {} "ghcr.io/devcontainers/features/github-cli:1": {}
}, },
"customizations": { "customizations": {
"vscode": { "vscode": {
"extensions": [ "extensions": [
"DavidAnson.vscode-markdownlint", "DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"github.vscode-github-actions", "github.vscode-github-actions",
"GitHub.vscode-pull-request-github", "GitHub.vscode-pull-request-github",
"redhat.vscode-yaml", "redhat.vscode-yaml",
"timonwong.shellcheck", "timonwong.shellcheck",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
] ]
} }
}, },
"postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template" "postCreateCommand": "npm init -y >/dev/null 2>&1 || true && npm install --no-save prettier prettier-plugin-sh prettier-plugin-jinja-template"
} }

6
.github/workflows/action-super-linter.yml

@ -27,9 +27,9 @@ jobs:
- name: Checkout code - name: Checkout code
uses: actions/checkout@v6 uses: actions/checkout@v6
with: with:
# Full clone required so super-linter can resolve GITHUB_BEFORE_SHA. # super-linter needs the full git history to get the
# list of files that changed across commits
fetch-depth: 0 fetch-depth: 0
fetch-tags: false
persist-credentials: false persist-credentials: false
- name: Install Prettier plugins (for summary formatting) - name: Install Prettier plugins (for summary formatting)
@ -41,7 +41,6 @@ jobs:
env: env:
# To report GitHub Actions status checks # To report GitHub Actions status checks
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DEFAULT_BRANCH: ${{ github.ref_name }}
VALIDATE_BIOME_FORMAT: false VALIDATE_BIOME_FORMAT: false
VALIDATE_BIOME_LINT: false VALIDATE_BIOME_LINT: false
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false VALIDATE_GITHUB_ACTIONS_ZIZMOR: false
@ -49,7 +48,6 @@ jobs:
VALIDATE_JSON_PRETTIER: false VALIDATE_JSON_PRETTIER: false
VALIDATE_MARKDOWN_PRETTIER: false VALIDATE_MARKDOWN_PRETTIER: false
VALIDATE_NATURAL_LANGUAGE: false VALIDATE_NATURAL_LANGUAGE: false
VALIDATE_PYTHON_RUFF_FORMAT: false
VALIDATE_SHELL_SHFMT: false VALIDATE_SHELL_SHFMT: false
VALIDATE_TRIVY: false VALIDATE_TRIVY: false
VALIDATE_YAML_PRETTIER: false VALIDATE_YAML_PRETTIER: false

2
.prettierrc.json

@ -1,3 +1,3 @@
{ {
"plugins": ["prettier-plugin-sh"] "plugins": ["prettier-plugin-sh"]
} }

20
.vscode/extensions.json

@ -1,12 +1,12 @@
{ {
"recommendations": [ "recommendations": [
"DavidAnson.vscode-markdownlint", "DavidAnson.vscode-markdownlint",
"editorconfig.editorconfig", "editorconfig.editorconfig",
"esbenp.prettier-vscode", "esbenp.prettier-vscode",
"github.vscode-github-actions", "github.vscode-github-actions",
"GitHub.vscode-pull-request-github", "GitHub.vscode-pull-request-github",
"redhat.vscode-yaml", "redhat.vscode-yaml",
"timonwong.shellcheck", "timonwong.shellcheck",
"yzhang.markdown-all-in-one" "yzhang.markdown-all-in-one"
] ]
} }

Loading…
Cancel
Save