mirror of
https://github.com/apache/superset.git
synced 2026-07-09 08:15:49 +00:00
chore(ci): pin @action-validator versions in GHA validator workflow
Pin @action-validator/core and @action-validator/cli to 0.6.0 instead of installing them unpinned at runtime, resolving the zizmor adhoc-packages finding. Also drops the no-op --save-dev flag (meaningless for a global install). Resolves code-scanning alert #2557 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -37,7 +37,9 @@ jobs:
|
||||
node-version: "20"
|
||||
|
||||
- name: Install Dependencies
|
||||
run: npm install -g @action-validator/core @action-validator/cli --save-dev
|
||||
# Versions are pinned to avoid ad-hoc, unpinned package installs
|
||||
# (zizmor adhoc-packages). Bump deliberately when upgrading.
|
||||
run: npm install -g @action-validator/core@0.6.0 @action-validator/cli@0.6.0
|
||||
|
||||
- name: Run Script
|
||||
run: bash .github/workflows/github-action-validator.sh
|
||||
|
||||
Reference in New Issue
Block a user