Skip to content

Commit

Permalink
Update Renovate config and workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
admdly committed Nov 22, 2023
1 parent 327b7e3 commit eda2426
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 18 deletions.
30 changes: 14 additions & 16 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,23 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
"schedule:weekly"
],
"automergeSchedule": [
"before 4am"
"schedule:weekly",
":automergeDigest",
":automergeLinters",
":automergeMinor",
":automergeRequireAllStatusChecks",
":automergeTesters",
":automergeTypes",
":combinePatchMinorReleases",
":maintainLockFilesWeekly",
":prHourlyLimit2",
":rebaseStalePrs"
],
"lockFileMaintenance": {
"enabled": true,
"automerge": true
},
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch"],
"matchCurrentVersion": "!/^0/",
"automerge": true
},
{
"matchDepTypes": ["devDependencies"],
"matchPackagePatterns": ["lint", "prettier"],
"automerge": true
}
]
"automergeSchedule": ["at any time"],
"automergeStrategy": "squash",
"automergeType": "branch"
}
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ name: "CodeQL"

on:
push:
branches: [ "main" ]
branches:
- 'main'
- 'renovate/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
Expand Down
10 changes: 9 additions & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review'
on: [pull_request]
on:
push:
branches:
- 'renovate/**'
pull_request:
branches: [ "main" ]

permissions:
contents: read
Expand All @@ -18,3 +23,6 @@ jobs:
uses: actions/checkout@v4
- name: 'Dependency Review'
uses: actions/dependency-review-action@v3
with:
base-ref: ${{ github.event.pull_request.base.sha || 'main' }}
head-ref: ${{ github.event.pull_request.head.sha || github.ref }}

0 comments on commit eda2426

Please sign in to comment.