From 56a1384f845c2ec1ea4308c4c7abe2d4828f0403 Mon Sep 17 00:00:00 2001 From: Wentao Guan Date: Tue, 30 Jun 2026 23:59:40 +0800 Subject: [PATCH] CI: add check depend all daily workflow deepin inclusion category: other check the increment need bugfixes for our branch backport commits. Signed-off-by: Wentao Guan --- .github/workflows/check-depend-all-daily.yml | 43 ++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 .github/workflows/check-depend-all-daily.yml diff --git a/.github/workflows/check-depend-all-daily.yml b/.github/workflows/check-depend-all-daily.yml new file mode 100644 index 000000000000..2e97339246b3 --- /dev/null +++ b/.github/workflows/check-depend-all-daily.yml @@ -0,0 +1,43 @@ +name: check depend all daily +on: + schedule: + - cron: "0 3 * * *" + workflow_dispatch: + +env: + KBUILD_BUILD_USER: deepin-kernel-sig + KBUILD_BUILD_HOST: deepin-kernel-builder + email: support@deepin.org + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: + pull-requests: read + +jobs: + check-depend-all: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: '0' + - name: "Install Deps" + run: | + git config --global user.email $email + git config --global user.name $KBUILD_BUILD_USER + + - name: "Check Depend for all commit" + run: | + # Use commits in v6.6..torvalds which has Fixes Tag to check (0,pr_sha) to checkdepends + bash .github/tools/check_kernel_commits.sh v6.6..torvalds/master linux-6.6.y > deepin-6.6.y.txt + if ! git remote get-url gregkh >/dev/null 2>&1; then + git remote add gregkh https://github.com/gregkh/linux.git + else + git remote set-url gregkh https://github.com/gregkh/linux.git + fi + git fetch gregkh + bash .github/tools/check_kernel_commits.sh v6.6..torvalds/master gregkh/linux-6.6.y > stable-6.6.y.txt + diff deepin-6.6.y.txt stable-6.6.y.txt +