Reuse release-drafter-workflow from js-sdk

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2024-02-01 10:36:59 +00:00
parent 145f551cd3
commit 9511d46a83
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D

View file

@ -2,20 +2,10 @@ name: Release Drafter
on:
push:
branches: [staging]
workflow_dispatch:
inputs:
previous-version:
description: What release to use as a base for release note purposes
required: false
type: string
workflow_dispatch: {}
concurrency: ${{ github.workflow }}
jobs:
draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@e64b19c4c46173209ed9f2e5a2f4ca7de89a0e86 # v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-action.yml@develop
with:
disable-autolabeler: true
previous-version: ${{ inputs.previous-version }}
include-changes: matrix-react-sdk