2023-11-14 10:54:42 +00:00
|
|
|
name: Release Drafter
|
|
|
|
on:
|
2023-11-14 14:43:43 +00:00
|
|
|
workflow_dispatch:
|
|
|
|
inputs:
|
2024-01-29 18:24:52 +00:00
|
|
|
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:
|
2024-01-29 18:24:52 +00:00
|
|
|
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:
|
2024-01-30 16:04:51 +00:00
|
|
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@develop
|
2024-01-31 09:34:54 +00:00
|
|
|
secrets:
|
|
|
|
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
|
|
|
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
|
|
|
|
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
|
2024-01-29 18:24:52 +00:00
|
|
|
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
|