Skip to content

Commit

Permalink
Renovate updates (#49)
Browse files Browse the repository at this point in the history
* Renovate updates

* [Format] Auto-formatting

* Move renovate config to .github directory

* Add concurrency limits to this repos jobs too

---------

Co-authored-by: nnichols <nnichols@users.noreply.github.com>
  • Loading branch information
nnichols and nnichols authored Oct 3, 2024
1 parent d0b6ed5 commit be9832b
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 13 deletions.
31 changes: 22 additions & 9 deletions renovate.json → .github/renovate.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"labels": [
"dependencies"
],
"assigneesFromCodeOwners": true,
"automerge": true,
"branchPrefix": "dependencies/",
"commitBodyTable": true,
"reviewersFromCodeOwners": true,
"schedule": [
"after 11am and before 8pm every weekday"
"configMigration": true,
"configWarningReuseIssue": false,
"extends": [
"config:base"
],
"github-actions": {
"fileMatch": [
Expand All @@ -20,5 +16,22 @@
"\\.yml$"
]
},
"labels": [
"dependencies",
"automated"
],
"packageRules": [
{
"matchDatasources": [
"npm"
],
"minimumReleaseAge": "3 days"
}
],
"rebaseWhen": "behind-base-branch",
"reviewersFromCodeOwners": true,
"schedule": [
"after 11am and before 8pm every weekday"
],
"timezone": "America/Chicago"
}
2 changes: 1 addition & 1 deletion .github/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ group:
Wall-Brew-Co/spoon
files:
- source: sources/github-actions/renovate.json
dest: renovate.json
dest: .github/renovate.json
# Clojure CI/CD
- repos: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on: [pull_request]

jobs:
label:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

# This job requires the Wall Brew Bot Token, so it is only run on non-forked repositories
if: github.repository_owner == 'Wall-Brew-Co'
runs-on: ubuntu-latest
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ on: [pull_request, workflow_dispatch]

jobs:
spell-check:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

# This job requires the Wall Brew Bot Token, so it is only run on non-forked repositories
if: github.repository_owner == 'Wall-Brew-Co'
runs-on: ubuntu-latest
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ That said, it is important to track the history of changes made to our CI/CD and
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->

- [2024 October 02](#2024-october-02)
- [2024 September 30](#2024-september-30)
- [2024 September 21](#2024-september-21)
- [2024 September 14](#2024-september-14)
Expand All @@ -33,6 +34,11 @@ That said, it is important to track the history of changes made to our CI/CD and

<!-- END doctoc generated TOC please keep comment here to allow auto update -->

## 2024 October 02

* Update Renovate config to require NPM dependencies to have been available for a minimum of 3 days before updating
* Move renovate configuration to the `.github` directory

## 2024 September 30

* Configured several GitHub Actions to cancel previous runs when a new run is triggered
Expand Down
16 changes: 13 additions & 3 deletions sources/github-actions/renovate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"assigneesFromCodeOwners": true,
"automerge": true,
"branchPrefix": "dependencies/",
"commitBodyTable": true,
"configMigration": true,
"configWarningReuseIssue": false,
"extends": [
"config:base"
],
Expand All @@ -14,9 +19,14 @@
"after 11am and before 8pm on monday"
]
},
"assigneesFromCodeOwners": true,
"branchPrefix": "dependencies/",
"commitBodyTable": true,
"packageRules": [
{
"matchDatasources": [
"npm"
],
"minimumReleaseAge": "3 days"
}
],
"rebaseWhen": "behind-base-branch",
"reviewersFromCodeOwners": true,
"schedule": [
Expand Down

0 comments on commit be9832b

Please sign in to comment.