sadpandajoe commented on code in PR #45167:
URL: https://github.com/apache/superset/pull/45167#discussion_r4237427877
##########
.github/workflows/github-action-validator.yml:
##########
@@ -31,22 +31,17 @@ jobs:
with:
persist-credentials: false
- - name: Set up Node.js
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
- with:
- node-version-file: "./superset-frontend/.nvmrc"
+ - name: Test docs-deploy freshness gate
+ run: bash .github/workflows/scripts/check-docs-deploy-freshness.test.sh
- - name: Install Dependencies
- # Versions are pinned to avoid ad-hoc, unpinned package installs.
- # Bump deliberately when upgrading.
- # zizmor: ignore[adhoc-packages] - @action-validator is a global CLI
tool installed to validate the repo's workflows; a global CLI install has no
application manifest/lockfile context, and the versions are pinned above
- run: npm install -g @action-validator/[email protected]
@action-validator/[email protected]
+ - name: Setup Go
+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #
v7.0.0
- - name: Run Script
- run: bash .github/workflows/github-action-validator.sh
+ - name: Install kjanat/actionlint
+ run: go install actionlint.kjanat.dev/cmd/[email protected]
- - name: Test docs-deploy freshness gate
- run: bash .github/workflows/scripts/check-docs-deploy-freshness.test.sh
+ - name: Static check for GHA workflows
+ run: actionlint
Review Comment:
Thanks. At this head the actionlint step still exits non-zero, which also
keeps the zizmor step from running, so this stays open until the fixes are
pushed. Can you ping here once they are in?
##########
.github/workflows/github-action-validator.yml:
##########
@@ -31,22 +31,17 @@ jobs:
with:
persist-credentials: false
- - name: Set up Node.js
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 #
v7.0.0
- with:
- node-version-file: "./superset-frontend/.nvmrc"
+ - name: Test docs-deploy freshness gate
+ run: bash .github/workflows/scripts/check-docs-deploy-freshness.test.sh
- - name: Install Dependencies
- # Versions are pinned to avoid ad-hoc, unpinned package installs.
- # Bump deliberately when upgrading.
- # zizmor: ignore[adhoc-packages] - @action-validator is a global CLI
tool installed to validate the repo's workflows; a global CLI install has no
application manifest/lockfile context, and the versions are pinned above
- run: npm install -g @action-validator/[email protected]
@action-validator/[email protected]
+ - name: Setup Go
+ uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e #
v7.0.0
- - name: Run Script
- run: bash .github/workflows/github-action-validator.sh
+ - name: Install kjanat/actionlint
+ run: go install actionlint.kjanat.dev/cmd/[email protected]
- - name: Test docs-deploy freshness gate
- run: bash .github/workflows/scripts/check-docs-deploy-freshness.test.sh
+ - name: Static check for GHA workflows
Review Comment:
Understood. Until a check covers the standalone composite actions, a broken
action.yml that no workflow references can merge with a green job. Can you
share what you find once you've looked at the options?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]