From ada4761a11c08bdeea4dbe6c49a598911becb597 Mon Sep 17 00:00:00 2001 From: mrmtsu <81202muramatsu@gmail.com> Date: Sun, 26 Apr 2026 15:54:26 +0900 Subject: [PATCH] chore: harden dependency update workflow --- .github/dependabot.yml | 2 ++ .github/workflows/dependency-review.yml | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index c48a1a5..8d77895 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -6,6 +6,8 @@ updates: interval: "weekly" day: "monday" time: "09:00" + cooldown: + default-days: 7 target-branch: "main" open-pull-requests-limit: 10 commit-message: diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 0000000..5a6b735 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,20 @@ +name: dependency-review + +on: + pull_request: + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: actions/dependency-review-action@2031cfc080254a8a887f58cffee85186f0e49e48 # v4.9.0 + with: + fail-on-severity: moderate + fail-on-scopes: runtime,development,unknown