Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/git-commit-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

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

Expand All @@ -61,15 +61,15 @@

npm config set @cordada:registry="${CORDADA_NPM_REGISTRY}" --location project

npm install @commitlint/cli@"${COMMITLINT_CLI_VERSION}"

Check warning on line 64 in .github/workflows/git-commit-lint.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=cordada_github-actions-utils&issues=AZ--LDM9ETN2Y3sJ2VKj&open=AZ--LDM9ETN2Y3sJ2VKj&pullRequest=113

Check warning on line 64 in .github/workflows/git-commit-lint.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=cordada_github-actions-utils&issues=AZ--LDM9ETN2Y3sJ2VKi&open=AZ--LDM9ETN2Y3sJ2VKi&pullRequest=113
npm install @cordada/commitlint-config-cordada@"${COMMITLINT_CONFIG_CORDADA_VERSION}"

Check warning on line 65 in .github/workflows/git-commit-lint.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=cordada_github-actions-utils&issues=AZ--LDM9ETN2Y3sJ2VKl&open=AZ--LDM9ETN2Y3sJ2VKl&pullRequest=113

Check warning on line 65 in .github/workflows/git-commit-lint.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=cordada_github-actions-utils&issues=AZ--LDM9ETN2Y3sJ2VKk&open=AZ--LDM9ETN2Y3sJ2VKk&pullRequest=113
env:
npm_config_audit: "false"
npm_config_fund: "false"

- name: Lint Git Commit Messages
run: |
npm exec -- commitlint --from "$VCS_REF_FROM" --to "$VCS_REF_TO" \

Check warning on line 72 in .github/workflows/git-commit-lint.yaml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npm exec" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=cordada_github-actions-utils&issues=AZ--LDM9ETN2Y3sJ2VKm&open=AZ--LDM9ETN2Y3sJ2VKm&pullRequest=113
--git-log-args='--no-merges'
env:
VCS_REF_FROM: ${{ inputs.vcs_ref_from }}
Expand Down