element-desktop/.github/workflows/release-drafter.yml
Michael Telatynski cddc6d115a
Fix passing secrets
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-01-31 09:34:54 +00:00

42 lines
1.6 KiB
YAML

name: Release Drafter
on:
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
previous-version:
description: What release to use as a base for release note purposes, defaults to the latest stable release.
required: false
type: string
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