From 9511d46a83e75b92b90f1e5d96143f23efff2602 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 1 Feb 2024 10:36:59 +0000 Subject: [PATCH] Reuse release-drafter-workflow from js-sdk Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- .github/workflows/release-drafter.yml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml index 4d889f4561..7d490eebdf 100644 --- a/.github/workflows/release-drafter.yml +++ b/.github/workflows/release-drafter.yml @@ -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 }} - with: - disable-autolabeler: true - previous-version: ${{ inputs.previous-version }} + uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-action.yml@develop + with: + include-changes: matrix-react-sdk