feat: add github action (#1)

This commit is contained in:
Julian Tölle 2024-08-05 23:49:31 +02:00 committed by GitHub
parent a1aaa3ba1f
commit 35c5553c27
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 61 additions and 1 deletions

24
action.yml Normal file
View file

@ -0,0 +1,24 @@
name: 'releaser-pleaser'
description: 'automated releases based on conventional commits'
author: Julian Tölle
branding:
icon: 'package'
color: 'red'
inputs:
branch:
default: main
description: "This branch is used as the target for releases."
token:
description: 'GitHub token for creating and grooming release PRs, defaults to using secrets.GITHUB_TOKEN'
required: false
default: ${{ github.token }}
outputs: {}
runs:
using: 'docker'
image: ghcr.io/apricote/releaser-pleaser:v0.1.0
args:
- run
- --forge=github
- --branch=${{ inputs.branch }}
env:
GITHUB_TOKEN: ${{ inputs.token }}