From 6f14ee0c80fd81d15fbd5dcfc0f1d9cb04af76fa Mon Sep 17 00:00:00 2001 From: Ron <45816308+rjaegers@users.noreply.github.com> Date: Thu, 5 Sep 2024 10:00:43 +0200 Subject: [PATCH] ci: fix devcontainer feature updates by dependabot (#560) --- .devcontainer/cpp/devcontainer-lock.json | 19 +++++++++++++++++++ .devcontainer/cpp/devcontainer.json | 6 +++--- .github/dependabot.yml | 4 +--- .github/workflows/update-dependencies.yml | 4 ++-- 4 files changed, 25 insertions(+), 8 deletions(-) create mode 100644 .devcontainer/cpp/devcontainer-lock.json diff --git a/.devcontainer/cpp/devcontainer-lock.json b/.devcontainer/cpp/devcontainer-lock.json new file mode 100644 index 00000000..844f9553 --- /dev/null +++ b/.devcontainer/cpp/devcontainer-lock.json @@ -0,0 +1,19 @@ +{ + "features": { + "ghcr.io/devcontainers/features/desktop-lite:1": { + "version": "1.2.4", + "resolved": "ghcr.io/devcontainers/features/desktop-lite@sha256:3f1e02742f4eab98a798c4beb126eb467a6bd224857b6127050f0dc6e92eb310", + "integrity": "sha256:3f1e02742f4eab98a798c4beb126eb467a6bd224857b6127050f0dc6e92eb310" + }, + "ghcr.io/devcontainers/features/github-cli:1": { + "version": "1.0.13", + "resolved": "ghcr.io/devcontainers/features/github-cli@sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3", + "integrity": "sha256:13b301a039ce9e0bb07d45ea0c106c946cfff01c3b9844bbec6b0c7bacba8de3" + }, + "ghcr.io/devcontainers/features/node:1": { + "version": "1.6.0", + "resolved": "ghcr.io/devcontainers/features/node@sha256:902b97a02d04ffd3404579d793f3e101d1126d4d198929196c5872ed75a6d351", + "integrity": "sha256:902b97a02d04ffd3404579d793f3e101d1126d4d198929196c5872ed75a6d351" + } + } +} diff --git a/.devcontainer/cpp/devcontainer.json b/.devcontainer/cpp/devcontainer.json index 565d067a..d5b40ceb 100644 --- a/.devcontainer/cpp/devcontainer.json +++ b/.devcontainer/cpp/devcontainer.json @@ -12,9 +12,9 @@ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ], "features": { - "ghcr.io/devcontainers/features/desktop-lite:1.2.4": {}, - "ghcr.io/devcontainers/features/github-cli:1.0.13": {}, - "ghcr.io/devcontainers/features/node:1.5.0": {} + "ghcr.io/devcontainers/features/desktop-lite:1": {}, + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/devcontainers/features/node:1": {} }, "postCreateCommand": "npm install && npx playwright install --with-deps", "customizations": { diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 08b8f3dc..dcb79b06 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -20,9 +20,7 @@ updates: schedule: interval: weekly - package-ecosystem: devcontainers - directories: - - .devcontainer/cpp - - .devcontainer/rust + directory: / schedule: interval: weekly - package-ecosystem: npm diff --git a/.github/workflows/update-dependencies.yml b/.github/workflows/update-dependencies.yml index 1eae6845..c040d0c7 100644 --- a/.github/workflows/update-dependencies.yml +++ b/.github/workflows/update-dependencies.yml @@ -3,7 +3,7 @@ name: Update Dependencies on: schedule: - - cron: "30 2 * * *" + - cron: "30 2 * * 0" workflow_dispatch: permissions: @@ -68,7 +68,7 @@ jobs: branch: feature/amp-devcontainer-${{ matrix.flavor }}/update-vscode-extensions body: | > [!NOTE] - > Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are no automated tests for the VS Code Extension updates. + > Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are limited automated tests for the VS Code Extension updates. ${{ steps.update-extensions.outputs.markdown-summary }} title: "chore(deps, ${{ matrix.flavor }}): update ${{ join(fromJson(steps.update-extensions.outputs.updated-dependencies), ', ') }}"