From b478d6eae20deeabdfefd58e23cc0c7b8859e4a0 Mon Sep 17 00:00:00 2001 From: debbie <148627186+webdevred@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:36:58 +0200 Subject: [PATCH 1/5] dependabot, adjust commit message format for npm --- .github/dependabot.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 837b67e..0e120ac 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -5,11 +5,15 @@ updates: directory: / schedule: interval: weekly + open-pull-requests-limit: 10 + commit-message: + prefix: chore + include: scope - package-ecosystem: github-actions - directory: "/" + directory: / schedule: interval: weekly open-pull-requests-limit: 10 commit-message: - prefix: "chore" - include: "scope" + prefix: chore + include: scope From b3ae0a029ba824e3b1a182236d5eef64295cab41 Mon Sep 17 00:00:00 2001 From: debbie <148627186+webdevred@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:37:42 +0200 Subject: [PATCH 2/5] no need to run tests on schedule --- .github/workflows/test.yaml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 4143657..95fb729 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -4,8 +4,6 @@ on: push: branches: [master] pull_request: - schedule: - - cron: 0 5 * * 0 # every sunday 05:00 UTC jobs: integration-test: From f5a66b9a0c023ff8d2aa7aa80e4624436524091c Mon Sep 17 00:00:00 2001 From: debbie <148627186+webdevred@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:37:57 +0200 Subject: [PATCH 3/5] added workflow for showing dependencies as badge --- .github/workflows/updated-deps.yaml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/updated-deps.yaml diff --git a/.github/workflows/updated-deps.yaml b/.github/workflows/updated-deps.yaml new file mode 100644 index 0000000..596e0a1 --- /dev/null +++ b/.github/workflows/updated-deps.yaml @@ -0,0 +1,28 @@ +name: Check for outdated dependencies + +on: + pull_request: + schedule: + - cron: 0 5 * * 0 # every sunday 05:00 UTC + +jobs: + check-dependencies: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Set up Node.js + uses: actions/setup-node@v4 + with: + node-version: 20 + cache: npm + - name: Install dependencies + run: npm clean-install + - name: Check for outdated dependencies + run: |- + OUTDATED=$(npm outdated || true) + if [ -n "$OUTDATED" ]; then + echo "Outdated dependencies found:" + echo "$OUTDATED" + exit 1 + fi From cacf43bb15ff5622ff383e440389147dceaec4e0 Mon Sep 17 00:00:00 2001 From: debbie <148627186+webdevred@users.noreply.github.com> Date: Thu, 14 Aug 2025 15:46:44 +0200 Subject: [PATCH 4/5] Added dependency checking badge --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 730ad8e..a1c0b36 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ # Get Supported GHC Version [![Test Get Supported GHC Version Action](https://github.com/webdevred/get-supported-ghc/actions/workflows/test.yaml/badge.svg)](https://github.com/webdevred/get-supported-ghc/actions/workflows/test.yaml) +[![Check for outdated dependencies](https://github.com/webdevred/get-supported-ghc/actions/workflows/updated-deps.yaml/badge.svg?event=schedule)](https://github.com/webdevred/get-supported-ghc/actions/workflows/updated-deps.yaml) This GitHub Action automatically detects the latest GHC (Glasgow Haskell Compiler) version compatible with your Haskell project's `base` dependency constraint in `package.yaml`. From 955912365ec7bc9d27c8368c50567549d754baa8 Mon Sep 17 00:00:00 2001 From: debbie <148627186+webdevred@users.noreply.github.com> Date: Thu, 14 Aug 2025 22:41:35 +0200 Subject: [PATCH 5/5] Group Dependabot PRs together --- .github/dependabot.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/dependabot.yaml b/.github/dependabot.yaml index 0e120ac..51d329f 100644 --- a/.github/dependabot.yaml +++ b/.github/dependabot.yaml @@ -9,6 +9,9 @@ updates: commit-message: prefix: chore include: scope + groups: + all-actions: + patterns: ['*'] - package-ecosystem: github-actions directory: / schedule: @@ -17,3 +20,6 @@ updates: commit-message: prefix: chore include: scope + groups: + all-actions: + patterns: ['*']