From c53be5e9e92340adc8ccedd6516b29ebe8f7a54d Mon Sep 17 00:00:00 2001 From: duyluann Date: Wed, 7 Oct 2026 14:41:10 +0700 Subject: [PATCH] ci: enable dependabot and PR build checks --- .github/dependabot.yml | 24 ++++++++++++++++++++++++ .github/workflows/ci.yaml | 17 +++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 .github/dependabot.yml create mode 100644 .github/workflows/ci.yaml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..e3167fd --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,24 @@ +version: 2 +updates: + - package-ecosystem: "docker" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore" + include: "scope" + labels: + - "dependencies" + open-pull-requests-limit: 10 + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + commit-message: + prefix: "chore" + include: "scope" + labels: + - "dependencies" + open-pull-requests-limit: 10 + diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 0000000..118020c --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,17 @@ +name: CI + +# Build-only check so dependency/base-image bumps are proven before merge. +# docker-publish.yml only runs on main and pushes the image. +on: + pull_request: + +permissions: + contents: read + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7.0.1 + - name: Build image (no push) + run: docker build -t code-server:ci .