Skip to content

Commit 5d5a872

Browse files
dependabot[bot]neilime
authored andcommitted
chore: bump the github-actions-dependencies group across 2 directories with 3 updates
Bumps the github-actions-dependencies group with 2 updates in the / directory: - [github/codeql-action](https://github.com/github/codeql-action) - [tj-actions/changed-files](https://github.com/tj-actions/changed-files) Bumps the github-actions-dependencies group with 1 update in the /actions/get-matrix-outputs directory: - [actions/download-artifact](https://github.com/actions/download-artifact) Updates `github/codeql-action` from 4.32.4 to 4.32.6 - [Release notes](https://github.com/github/codeql-action/releases) - [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md) Updates `tj-actions/changed-files` from 47.0.4 to 47.0.5 - [Release notes](https://github.com/tj-actions/changed-files/releases) - [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md) Updates `actions/download-artifact` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/actions/download-artifact/releases) --- updated-dependencies: - dependency-name: github/codeql-action dependency-version: 4.32.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: tj-actions/changed-files dependency-version: 47.0.5 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: actions/download-artifact dependency-version: 8.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
1 parent 8376498 commit 5d5a872

4 files changed

Lines changed: 39 additions & 10 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
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": {
@@ -15,7 +21,10 @@
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
}

.github/workflows/linter.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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: |

Makefile

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
2040
define run_linter
2141
DEFAULT_WORKSPACE="$(CURDIR)"; \
2242
LINTER_IMAGE="linter:latest"; \

actions/get-matrix-outputs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ runs:
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 }}-*

0 commit comments

Comments
 (0)