Merge pull request #130 from phaer/release-management

automatically publish releases for tags, switch to dependabot
This commit is contained in:
Karim Naufal 2022-03-15 12:47:36 +01:00 committed by GitHub
commit 97c6a0d7b3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 53 additions and 4 deletions

11
.github/dependabot.yaml vendored Normal file
View File

@ -0,0 +1,11 @@
version: 2
updates:
- package-ecosystem: "terraform"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"

22
.github/release.yaml vendored Normal file
View File

@ -0,0 +1,22 @@
changelog:
exclude:
labels:
- ignore-for-release
authors:
- octocat
categories:
- title: Breaking Changes 🛠
labels:
- Semver-Major
- breaking-change
- title: New Features 🎉
labels:
- Semver-Minor
- enhancement
- title: Bug Fixes 🐛
labels:
- Semver-Patch
- bug
- title: Other Changes
labels:
- "*"

View File

@ -0,0 +1,19 @@
---
name: Publish a new Github Release
on:
push:
tags:
- '*'
jobs:
Release:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ncipollo/release-action@v1
with:
generateReleaseNotes: true
name: 'v${{ github.ref_name }}'
token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -1,5 +1,5 @@
---
name: Terraform
name: Validate Terraform
on:
push:

View File

@ -1,3 +0,0 @@
{
"extends": ["config:base", ":disableDependencyDashboard"]
}