Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/renovate-approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: Renovate approve
on:
pull_request:
types: [synchronize, auto_merge_enabled]
jobs:
renovate-approve:
uses: OctopusDeploy/team-bmbb-renovate-config/.github/workflows/renovate-approve.yml@main
permissions:
pull-requests: write
26 changes: 0 additions & 26 deletions .github/workflows/renovate-pull-request-automation.yml

This file was deleted.

13 changes: 13 additions & 0 deletions .github/workflows/renovate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Renovate
on:
schedule:
- cron: "0 3 * * *"
timezone: Australia/Brisbane
workflow_dispatch:
jobs:
renovate:
uses: OctopusDeploy/team-bmbb-renovate-config/.github/workflows/renovate.yml@main
permissions:
contents: read
secrets:
RENOVATE_GITHUB_TOKEN: ${{ secrets.RENOVATE_GITHUB_TOKEN }}
28 changes: 0 additions & 28 deletions .github/workflows/update-dependencies.yml

This file was deleted.

40 changes: 4 additions & 36 deletions renovate-config.js
Original file line number Diff line number Diff line change
@@ -1,39 +1,7 @@
module.exports = {
extends: [
"config:base",
":disableMajorUpdates",
":ignoreModulesAndTests",
":pinVersions",
":rebaseStalePrs",
// Automatic merging is temporarily disabled.
// ":automergeDigest",
// ":automergePatch",
":automergePr",
":automergeRequireAllStatusChecks",
// ":automergeLinters",
// ":automergeTesters",
// ":automergeTypes",
"packages:eslint",
"workarounds:typesNodeVersioning",
"github>whitesource/merge-confidence:beta",
],
branchPrefix: "renovate/",
platform: "github",
repositories: ["OctopusDeploy/login"],
packageRules: [
{
matchDatasources: ['npm'],
minimumReleaseAge: '2 days'
}
],
timezone: "Australia/Brisbane",
onboarding: false,
requireConfig: false,
allowedPostUpgradeCommands: [".*"],
extends: ["github>OctopusDeploy/team-bmbb-renovate-config:github-action.json5"],

// The github-action preset rebuilds dist/ after each update, but presets can't allow commands, so allow it here.
allowShellExecutorForPostUpgradeCommands: true,
postUpgradeTasks: {
commands: ["npm install && npm run build"],
fileFilters: ["**/index.js"],
executionMode: "update",
},
allowedCommands: ["^npm ci --ignore-scripts && npm run build$"],
};
Loading