Skip to content

Commit

Permalink
feat: added github action
Browse files Browse the repository at this point in the history
  • Loading branch information
JayGhiya committed Mar 14, 2024
1 parent 653c66c commit 7dd0b42
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/configuration/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"packages": {
"charts/vespa": {
"release-type": "helm",
"component" : "vespa",
"changelog-path": "CHANGELOG.md"
}
}
}
3 changes: 3 additions & 0 deletions .github/configuration/release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"charts/vespa": "0.0.1"
}
29 changes: 29 additions & 0 deletions .github/workflows/dev-pr-merge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Merge with develop branch

on:
pull_request:
types: [closed]
branches:
- develop

jobs:
dev-pr-merge:
permissions:
contents: write
runs-on: ubuntu-latest

steps:
- name: Checkout our repository
uses: actions/checkout@v2
with:
ref: develop
fetch-depth: 0
- name: Release Please
id: release_action_plan
uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
config-file: .github/configuration/release-please-config.json
manifest-file: .github/configuration/release-please-manifest.json
include-component-in-tag: true

0 comments on commit 7dd0b42

Please sign in to comment.