summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Forbes <tom@tomforb.es>2023-12-15 21:38:44 +0000
committerTom Forbes <tom@tomforb.es>2023-12-15 21:38:44 +0000
commitd9ef9a793b0d62897b8395ed640b1329af4c4e1d (patch)
tree1dde185722c071aa0498a3fd04435c031955fc4f
parent2495868ce09664c0f5a37a91ff1dc419325f9f06 (diff)
Change dependabot
-rw-r--r--.github/dependabot.yml8
-rw-r--r--.github/workflows/dependabot.yml23
2 files changed, 8 insertions, 23 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
index b10df16..64bbcef 100644
--- a/.github/dependabot.yml
+++ b/.github/dependabot.yml
@@ -9,7 +9,15 @@ updates:
directory: "/" # Location of package manifests
schedule:
interval: "daily"
+ groups:
+ dependencies:
+ patterns:
+ - "*"
- package-ecosystem: "github-actions" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
+ groups:
+ dependencies:
+ patterns:
+ - "*"
diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml
deleted file mode 100644
index d816ff7..0000000
--- a/.github/workflows/dependabot.yml
+++ /dev/null
@@ -1,23 +0,0 @@
-name: Dependabot auto-approve
-on: pull_request_target
-
-permissions:
- contents: write
- pull-requests: write
-
-jobs:
- dependabot:
- runs-on: ubuntu-latest
- if: ${{ github.actor == 'dependabot[bot]' }}
- steps:
- - name: Dependabot metadata
- id: metadata
- uses: dependabot/fetch-metadata@v1.6.0
- with:
- github-token: "${{ secrets.GITHUB_TOKEN }}"
- - name: Enable auto-merge for Dependabot PRs
- if: ${{steps.metadata.outputs.update-type == 'version-update:semver-patch'}}
- run: gh pr merge --auto --merge "$PR_URL"
- env:
- PR_URL: ${{github.event.pull_request.html_url}}
- GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}