diff options
author | Tom Forbes <tom@tomforb.es> | 2023-12-15 21:38:44 +0000 |
---|---|---|
committer | Tom Forbes <tom@tomforb.es> | 2023-12-15 21:38:44 +0000 |
commit | d9ef9a793b0d62897b8395ed640b1329af4c4e1d (patch) | |
tree | 1dde185722c071aa0498a3fd04435c031955fc4f | |
parent | 2495868ce09664c0f5a37a91ff1dc419325f9f06 (diff) |
Change dependabot
-rw-r--r-- | .github/dependabot.yml | 8 | ||||
-rw-r--r-- | .github/workflows/dependabot.yml | 23 |
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}} |