Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 783047f

Browse files
committed
Relax dependabot for DeterminateSystems activity
1 parent 71068a6 commit 783047f

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/dependabot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ updates:
66
interval: 'daily'
77
ignore:
88
- dependency-name: 'crate-ci/typos'
9+
groups:
10+
determinatesystems-actions:
11+
patterns:
12+
- 'DeterminateSystems*'
913
- package-ecosystem: 'elm'
1014
directory: '/'
1115
schedule:

.github/workflows/merge-bot-pr.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ jobs:
1717
id: metadata
1818
uses: dependabot/fetch-metadata@v1.6.0
1919
- name: Wait other jobs
20-
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
20+
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' }}
2121
uses: kachick/wait-other-jobs@v2
2222
timeout-minutes: 10
2323
- name: Approve and merge
24-
if: ${{steps.metadata.outputs.update-type != 'version-update:semver-major'}}
24+
if: ${{ steps.metadata.outputs.update-type != 'version-update:semver-major' || contains(steps.metadata.outputs.dependency-names, 'DeterminateSystems') }}
2525
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash "$PR_URL"
2626
env:
27-
PR_URL: ${{github.event.pull_request.html_url}}
28-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
27+
PR_URL: ${{ github.event.pull_request.html_url }}
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2929

3030
# Avoid `automerge` renovate official feature.
3131
# It wait longtime to be merged.
@@ -45,8 +45,8 @@ jobs:
4545
- name: Approve and merge
4646
run: gh pr review --approve "$PR_URL" && gh pr merge --auto --squash "$PR_URL"
4747
env:
48-
PR_URL: ${{github.event.pull_request.html_url}}
49-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
48+
PR_URL: ${{ github.event.pull_request.html_url }}
49+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5050

5151
mobu-update-dependencies:
5252
timeout-minutes: 30

0 commit comments

Comments
 (0)