Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
open-pull-requests-limit: 10
31 changes: 31 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Generate new version

on:
workflow_dispatch:
inputs:
semver:
description: "Version increment"
required: true
default: patch
type: choice
options:
- major
- minor
- patch

jobs:
generate-tag:
runs-on: ubuntu-latest
steps:
- uses: step-security/[email protected]
with:
egress-policy: audit
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Bump version and push tag
uses: hennejg/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
default_bump: ${{ inputs.semver }}
release_branches: ${{ github.ref_name }}
18 changes: 18 additions & 0 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
tags:
- 'v*'

jobs:
generate-release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: step-security/[email protected]
with:
egress-policy: audit
- uses: actions/checkout@v3
- uses: softprops/[email protected]
with:
generate_release_notes: true