Skip to content

Commit be1b8ba

Browse files
committed
feat: add release automation and dependency management
Introduce GitHub Actions for automated releases and dependency updates. Add `release-please` configuration for managing release versions and changelog updates. Configure `dependabot` to check for updates in GitHub Actions workflows monthly. Update `README.md` to include version information. This ensures consistent release management and keeps dependencies up-to-date automatically. Signed-off-by: Marcelo Borges <[email protected]>
1 parent a42a055 commit be1b8ba

File tree

5 files changed

+46
-0
lines changed

5 files changed

+46
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
".": "0.0.0"
3+
}

.github/dependabot.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "github-actions"
4+
directory: "/"
5+
schedule:
6+
interval: monthly
7+
time: "04:00"
8+
timezone: Europe/Lisbon

.github/release-please-config.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
3+
"changelog-path": "CHANGELOG.md",
4+
"release-type": "simple",
5+
"packages": {
6+
".": {
7+
"extra-files": [
8+
"README.md"
9+
]
10+
}
11+
}
12+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
name: release-please
11+
12+
jobs:
13+
release-please:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: googleapis/release-please-action@v4
17+
with:
18+
config-file: .github/release-please-config.json
19+
manifest-file: .github/.release-please-manifest.json
20+
token: ${{ secrets.RELEASE_PLEASE_TOKEN }}
21+
release-type: simple

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
# 💤 LazyVim
22

3+
_version:_ v0.0.0 <!-- x-release-please-version -->
4+
35
A starter template for [LazyVim](https://github.com/LazyVim/LazyVim).
46
Refer to the [documentation](https://lazyvim.github.io/installation) to get started.

0 commit comments

Comments
 (0)