Skip to content

Commit

Permalink
minor renovate tweaks, and run tests for renovate branches (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
aSemy authored Dec 21, 2023
1 parent 8cc9782 commit 4c1eb86
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 17 deletions.
37 changes: 21 additions & 16 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -5,41 +5,46 @@
],
enabled: true,
enabledManagers: [
"npm",
"gradle",
"gradle-wrapper",
"github-actions",
],
// will auto-merge directly, without a PR, if tests pass - else, makes a PR
// Will auto-merge directly, without a PR, if tests pass - else, makes a PR.
// Must add Renovate to 'Allow specified actors to bypass required pull requests'
// in branch protection rule
automergeType: "branch",
platformAutomerge: true,
ignoreTests: false,
packageRules: [
{
// automerge all but major releases
"matchUpdateTypes": [
description: "auto-merge all but major releases",
matchUpdateTypes: [
"minor",
"patch",
"pin",
"digest",
],
"automerge": true,
automerge: true,
}
],
timezone: "Etc/UTC",
schedule: [
"after 10am on the first day of the month",
// loosely limit to Europe daytime, so we don't get pinged in the middle of the night
"after 10am",
"before 5pm",
],
stabilityDays: 14,
"suppressNotifications": [
// "artifactErrors",
// "branchAutomergeFailure",
// "configErrorIssue",
// "deprecationWarningIssues",
// "lockFileErrors",
// "onboardingClose",
// "prEditedNotification",
// "prIgnoreNotification",
],
// suppressNotifications: [
// "artifactErrors",
// "branchAutomergeFailure",
// "configErrorIssue",
// "deprecationWarningIssues",
// "lockFileErrors",
// "onboardingClose",
// "prEditedNotification",
// "prIgnoreNotification",
// ],
prCreation: "status-success",
semanticCommits: "disabled",
ignorePaths: []
}
4 changes: 3 additions & 1 deletion .github/workflows/workflow_pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ on:
workflow_dispatch:
pull_request:
merge_group:

push:
branches:
- "renovate/**"

concurrency:
group: "Pull Requests: ${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
Expand Down

0 comments on commit 4c1eb86

Please sign in to comment.