Skip to content

Commit

Permalink
feat: add dependabot and release-please configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
sergelogvinov committed Feb 29, 2024
1 parent 4a914ad commit 390e429
Show file tree
Hide file tree
Showing 4 changed files with 76 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
commit-message:
prefix: "chore:"
open-pull-requests-limit: 8
rebase-strategy: disabled
schedule:
interval: "monthly"
day: "monday"
time: "08:00"
timezone: "UTC"
35 changes: 35 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"pull-request-header": ":robot: I have created a release",
"pull-request-title-pattern": "chore: release v${version}",
"group-pull-request-title-pattern": "chore: release v${version}",
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"release-type": "simple",
"skip-github-release": false,
"bump-minor-pre-major": true,
"include-v-in-tag": true,
"draft": false,
"draft-pull-request": true,
"prerelease": false,
"changelog-sections": [
{
"type": "feat",
"section": "Features",
"hidden": false
},
{
"type": "fix",
"section": "Bug Fixes",
"hidden": false
},
{
"type": "*",
"section": "Changelog",
"hidden": false
}
]
}
}
}
3 changes: 3 additions & 0 deletions .github/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.2.0"
}
24 changes: 24 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release please

on:
workflow_dispatch: {}
push:
branches:
- main

jobs:
release-please:
name: Release please
timeout-minutes: 5
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write

steps:
- name: Create release PR
id: release
uses: google-github-actions/release-please-action@v4
with:
config-file: .github/release-please-config.json
manifest-file: .github/release-please-manifest.json

0 comments on commit 390e429

Please sign in to comment.