File tree Expand file tree Collapse file tree
actions/get-matrix-outputs Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
2- "name" : " Alpine " ,
3- "image" : " mcr.microsoft.com/devcontainers/base:alpine-3.21 " ,
2+ "name" : " ci-github-common " ,
3+ "image" : " mcr.microsoft.com/devcontainers/base:debian " ,
44 "features" : {
5- "ghcr.io/devcontainers/features/docker-in-docker:2" : {},
6- "ghcr.io/devcontainers/features/github-cli:1" : {},
7- "ghcr.io/devcontainers-extra/features/act:1" : {}
5+ "ghcr.io/devcontainers/features/docker-in-docker:2" : {
6+ "moby" : false
7+ },
8+ "ghcr.io/devcontainers/features/github-cli:1" : {
9+ "extensions" : " nektos/gh-act"
10+ }
11+ },
12+ "remoteEnv" : {
13+ "GITHUB_TOKEN" : " ${localEnv:GITHUB_TOKEN}"
814 },
915 "customizations" : {
1016 "vscode" : {
1521 " github.copilot-chat" ,
1622 " ms-vscode.makefile-tools" ,
1723 " esbenp.prettier-vscode"
18- ]
24+ ],
25+ "settings" : {
26+ "terminal.integrated.defaultProfile.linux" : " zsh"
27+ }
1928 }
2029 }
2130}
Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ jobs:
129129 with :
130130 persist-credentials : false
131131
132- - uses : github/codeql-action/init@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
132+ - uses : github/codeql-action/init@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
133133 with :
134134 languages : ${{ matrix.language }}
135135
136- - uses : github/codeql-action/analyze@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4
136+ - uses : github/codeql-action/analyze@0d579ffd059c29b07949a3cce3983f0780820c98 # v4.32.6
137137 with :
138138 category : " /language:${{matrix.language}}"
139139
@@ -151,7 +151,7 @@ jobs:
151151 persist-credentials : false
152152
153153 - id : changed-files
154- uses : tj-actions/changed-files@7dee1b0c1557f278e5c7dc244927139d78c0e22a # v47.0.4
154+ uses : tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # v47.0.5
155155 if : ${{ inputs.lint-all == false }}
156156 with :
157157 files : |
Original file line number Diff line number Diff line change @@ -17,6 +17,26 @@ lint-fix: ## Execute linting and fix
1717 -e FIX_SHELL_SHFMT=true \
1818 )
1919
20+ npm-audit-fix : # # Execute npm audit fix
21+ @set -uo pipefail; \
22+ overall_status=0; \
23+ packages=" $$ (find actions -type f -name package.json -not -path '*/node_modules/*' -print | sort)" ; \
24+ echo " Running npm audit fix for package.json files under actions/ ..." ; \
25+ for pkg in $$ packages; do \
26+ pkg_dir=" $$ (dirname " $$ pkg" )" ; \
27+ echo " ---" ; \
28+ npm install --prefix " $$ pkg_dir" ; \
29+ echo " npm audit fix in $$ pkg_dir" ; \
30+ if ! npm --prefix " $$ pkg_dir" audit fix; then \
31+ overall_status=1; \
32+ fi ; \
33+ done ; \
34+ exit $$ overall_status
35+
36+ ci : # # Execute CI tasks
37+ $(MAKE ) npm-audit-fix
38+ $(MAKE ) lint-fix
39+
2040define run_linter
2141 DEFAULT_WORKSPACE="$(CURDIR ) "; \
2242 LINTER_IMAGE="linter:latest"; \
Original file line number Diff line number Diff line change 4141 const artifactPath = path.join(process.env.RUNNER_TEMP, artifactName);
4242 core.setOutput('artifact-path', artifactPath);
4343
44- - uses : actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0
44+ - uses : actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
4545 with :
4646 path : ${{ steps.prepare-download.outputs.artifact-path }}
4747 pattern : ${{ steps.prepare-download.outputs.artifact-name }}-*
You can’t perform that action at this time.
0 commit comments