sekur-chat/.github/workflows/release-drafter.yml

43 lines
1.6 KiB
YAML
Raw Normal View History

2023-11-14 10:54:42 +00:00
name: Release Drafter
on:
2023-11-14 14:43:43 +00:00
workflow_dispatch:
inputs:
version-bump:
description: The scale of the version bump required for semver compatibility
required: true
default: automatic
type: choice
options:
- automatic
- patch
- minor
- major
type:
description: The type of release to make
required: true
default: release-candidate
type: choice
options:
- release-candidate
- release
- hotfix
2023-11-14 14:43:43 +00:00
previous-version:
description: What release to use as a base for release note purposes, defaults to the latest stable release.
2023-11-14 14:43:43 +00:00
required: false
type: string
2023-11-14 10:54:42 +00:00
concurrency: ${{ github.workflow }}
jobs:
draft:
uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@develop
secrets:
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
with:
version-bump: ${{ inputs.version-bump }}
previous-version: ${{ inputs.previous-version }}
final: ${{ inputs.type != 'release-candidate' }}
include-changes: element-hq/element-web@$VERSION
gpg-fingerprint: ${{ vars.GPG_FINGERPRINT }}
expected-asset-count: 1