Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,10 @@ version: 2
updates:
- package-ecosystem: github-actions
directory: /
groups:
github-actions-production:
dependency-type: production
schedule:
interval: monthly
commit-message:
prefix: "chore:"
prefix: "chore(deps):"
labels:
- dependencies
open-pull-requests-limit: 5
6 changes: 3 additions & 3 deletions .github/workflows/git-commit-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,18 +39,18 @@ jobs:

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4.1.1
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0

- name: Set Up Node.js
id: set_up_nodejs
uses: actions/setup-node@v4.4.0
uses: actions/setup-node@v6.2.0
with:
node-version: "lts/*"

- name: Restoring/Saving Cache
uses: actions/cache@v4.2.3
uses: actions/cache@v5.0.3
with:
path: node_modules
key: js-v2-deps-${{ runner.os }}-${{ steps.set_up_nodejs.outputs.node-version }}-${{ env.COMMITLINT_CLI_VERSION }}-${{ env.COMMITLINT_CONFIG_CORDADA_VERSION }}
Expand Down
25 changes: 16 additions & 9 deletions .github/workflows/super-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,46 +107,46 @@

steps:
- name: Check Out VCS Repository
uses: actions/checkout@v4
uses: actions/checkout@v6.0.2
with:
# Full git history is needed to get a proper list of changed files within `super-linter`.
fetch-depth: 0

- name: Configure Super-Linter
run: |
for language_var_name in ${LANGUAGE_VAR_NAMES:?}; do
if [ "${!language_var_name}" == 'true' ]; then
echo "${language_var_name^^}=true" >> "$GITHUB_ENV"
fi
done

if [ "$validate_editorconfig" == 'true' ]; then
echo "EDITORCONFIG_FILE_NAME=${{ inputs.editorconfig_file_name }}" >> "$GITHUB_ENV"
echo "EDITORCONFIG_FILE_NAME=${editorconfig_file_name}" >> "$GITHUB_ENV"
fi

if [ "$validate_markdown" == 'true' ]; then
echo "MARKDOWN_CONFIG_FILE=${{ inputs.markdown_config_file }}" >> "$GITHUB_ENV"
echo "MARKDOWN_CONFIG_FILE=${markdown_config_file}" >> "$GITHUB_ENV"
fi

if [ "$validate_python_black" == 'true' ]; then
echo "PYTHON_BLACK_CONFIG_FILE=${{ inputs.python_black_config_file }}" >> "$GITHUB_ENV"
echo "PYTHON_BLACK_CONFIG_FILE=${python_black_config_file}" >> "$GITHUB_ENV"
fi

if [ "$validate_python_flake8" == 'true' ]; then
echo "PYTHON_FLAKE8_CONFIG_FILE=${{ inputs.python_flake8_config_file }}" >> "$GITHUB_ENV"
echo "PYTHON_FLAKE8_CONFIG_FILE=${python_flake8_config_file}" >> "$GITHUB_ENV"
fi

if [ "$validate_python_isort" == 'true' ]; then
echo "PYTHON_ISORT_CONFIG_FILE=${{ inputs.python_isort_config_file }}" >> "$GITHUB_ENV"
echo "PYTHON_ISORT_CONFIG_FILE=${python_isort_config_file}" >> "$GITHUB_ENV"
fi

if [ "$validate_python_mypy" == 'true' ]; then
echo "PYTHON_MYPY_CONFIG_FILE=${{ inputs.python_mypy_config_file }}" >> "$GITHUB_ENV"
echo "PYTHON_MYPY_CONFIG_FILE=${python_mypy_config_file}" >> "$GITHUB_ENV"
fi

if [ "$validate_sqlfluff" == 'true' ]; then
echo "SQLFLUFF_CONFIG_FILE=${{ inputs.sql_sqlfluff_config_file }}" >> "$GITHUB_ENV"
echo "SQLFLUFF_CONFIG_FILE=${sql_sqlfluff_config_file}" >> "$GITHUB_ENV"
fi

Check warning

Code scanning / CodeQL

Environment variable built from user-controlled sources Medium

Potential environment variable injection in [for language_var_name in ${LANGUAGE_VAR_NAMES:?}; do
if [ "${!language_var_name}" == 'true' ]; then
echo "${language_var_name^^}=true" >> "$GITHUB_ENV"
fi
done if [ "$validate_editorconfig" == 'true' ]; then
echo "EDITORCONFIG_FILE_NAME=${editorconfig_file_name}" >> "$GITHUB_ENV"
fi if [ "$validate_markdown" == 'true' ]; then
echo "MARKDOWN_CONFIG_FILE=${markdown_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_black" == 'true' ]; then
echo "PYTHON_BLACK_CONFIG_FILE=${python_black_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_flake8" == 'true' ]; then
echo "PYTHON_FLAKE8_CONFIG_FILE=${python_flake8_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_isort" == 'true' ]; then
echo "PYTHON_ISORT_CONFIG_FILE=${python_isort_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_mypy" == 'true' ]; then
echo "PYTHON_MYPY_CONFIG_FILE=${python_mypy_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_sqlfluff" == 'true' ]; then
echo "SQLFLUFF_CONFIG_FILE=${sql_sqlfluff_config_file}" >> "$GITHUB_ENV"
fi](1), which may be controlled by an external user.
Potential environment variable injection in [for language_var_name in ${LANGUAGE_VAR_NAMES:?}; do
if [ "${!language_var_name}" == 'true' ]; then
echo "${language_var_name^^}=true" >> "$GITHUB_ENV"
fi
done if [ "$validate_editorconfig" == 'true' ]; then
echo "EDITORCONFIG_FILE_NAME=${editorconfig_file_name}" >> "$GITHUB_ENV"
fi if [ "$validate_markdown" == 'true' ]; then
echo "MARKDOWN_CONFIG_FILE=${markdown_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_black" == 'true' ]; then
echo "PYTHON_BLACK_CONFIG_FILE=${python_black_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_flake8" == 'true' ]; then
echo "PYTHON_FLAKE8_CONFIG_FILE=${python_flake8_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_isort" == 'true' ]; then
echo "PYTHON_ISORT_CONFIG_FILE=${python_isort_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_mypy" == 'true' ]; then
echo "PYTHON_MYPY_CONFIG_FILE=${python_mypy_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_sqlfluff" == 'true' ]; then
echo "SQLFLUFF_CONFIG_FILE=${sql_sqlfluff_config_file}" >> "$GITHUB_ENV"
fi](1), which may be controlled by an external user.
Potential environment variable injection in [for language_var_name in ${LANGUAGE_VAR_NAMES:?}; do
if [ "${!language_var_name}" == 'true' ]; then
echo "${language_var_name^^}=true" >> "$GITHUB_ENV"
fi
done if [ "$validate_editorconfig" == 'true' ]; then
echo "EDITORCONFIG_FILE_NAME=${editorconfig_file_name}" >> "$GITHUB_ENV"
fi if [ "$validate_markdown" == 'true' ]; then
echo "MARKDOWN_CONFIG_FILE=${markdown_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_black" == 'true' ]; then
echo "PYTHON_BLACK_CONFIG_FILE=${python_black_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_flake8" == 'true' ]; then
echo "PYTHON_FLAKE8_CONFIG_FILE=${python_flake8_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_isort" == 'true' ]; then
echo "PYTHON_ISORT_CONFIG_FILE=${python_isort_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_mypy" == 'true' ]; then
echo "PYTHON_MYPY_CONFIG_FILE=${python_mypy_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_sqlfluff" == 'true' ]; then
echo "SQLFLUFF_CONFIG_FILE=${sql_sqlfluff_config_file}" >> "$GITHUB_ENV"
fi](1), which may be controlled by an external user.
Potential environment variable injection in [for language_var_name in ${LANGUAGE_VAR_NAMES:?}; do
if [ "${!language_var_name}" == 'true' ]; then
echo "${language_var_name^^}=true" >> "$GITHUB_ENV"
fi
done if [ "$validate_editorconfig" == 'true' ]; then
echo "EDITORCONFIG_FILE_NAME=${editorconfig_file_name}" >> "$GITHUB_ENV"
fi if [ "$validate_markdown" == 'true' ]; then
echo "MARKDOWN_CONFIG_FILE=${markdown_config_file}" >> "$GITHUB_ENV"
fi if [ "$validate_python_black" == 'true' ]; then
echo "PYTHON_BLACK_CONFIG_FILE=${python_black_config_file}" >>
env:
LANGUAGE_VAR_NAMES: >-
validate_editorconfig
Expand All @@ -159,6 +159,13 @@
validate_python_mypy
validate_sqlfluff
validate_yaml_prettier
editorconfig_file_name: ${{ inputs.editorconfig_file_name }}
markdown_config_file: ${{ inputs.markdown_config_file }}
python_black_config_file: ${{ inputs.python_black_config_file }}
python_flake8_config_file: ${{ inputs.python_flake8_config_file }}
python_isort_config_file: ${{ inputs.python_isort_config_file }}
python_mypy_config_file: ${{ inputs.python_mypy_config_file }}
sql_sqlfluff_config_file: ${{ inputs.sql_sqlfluff_config_file }}
validate_editorconfig: ${{ inputs.validate_editorconfig }}
validate_json_prettier: ${{ inputs.validate_json_prettier }}
validate_markdown: ${{ inputs.validate_markdown }}
Expand All @@ -171,7 +178,7 @@
validate_yaml_prettier: ${{ inputs.validate_yaml_prettier }}

- name: Lint
uses: super-linter/super-linter/slim@v7.4.0
uses: super-linter/super-linter/slim@61abc07d755095a68f4987d1c2c3d1d64408f1f9 # v8.5.0
env:
DEFAULT_BRANCH: ${{ inputs.default_git_branch }}
LINTER_RULES_PATH: /
Expand Down
Loading