Reuse release-drafter-workflow from js-sdk (#12204)
* Switch prepublishOnly to prepack to catch errors earlier Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Reuse release-drafter-workflow from js-sdk Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Automate downstream dependency bumping Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> * Delint Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --------- Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
8299abd344
commit
625b606f55
2 changed files with 3 additions and 14 deletions
16
.github/workflows/release-drafter.yml
vendored
16
.github/workflows/release-drafter.yml
vendored
|
@ -2,20 +2,8 @@ name: Release Drafter
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [staging]
|
branches: [staging]
|
||||||
workflow_dispatch:
|
workflow_dispatch: {}
|
||||||
inputs:
|
|
||||||
previous-version:
|
|
||||||
description: What release to use as a base for release note purposes
|
|
||||||
required: false
|
|
||||||
type: string
|
|
||||||
concurrency: ${{ github.workflow }}
|
concurrency: ${{ github.workflow }}
|
||||||
jobs:
|
jobs:
|
||||||
draft:
|
draft:
|
||||||
runs-on: ubuntu-latest
|
uses: matrix-org/matrix-js-sdk/.github/workflows/release-drafter-workflow.yml@develop
|
||||||
steps:
|
|
||||||
- uses: release-drafter/release-drafter@e64b19c4c46173209ed9f2e5a2f4ca7de89a0e86 # v5
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
with:
|
|
||||||
disable-autolabeler: true
|
|
||||||
previous-version: ${{ inputs.previous-version }}
|
|
||||||
|
|
1
.github/workflows/release.yml
vendored
1
.github/workflows/release.yml
vendored
|
@ -28,5 +28,6 @@ jobs:
|
||||||
with:
|
with:
|
||||||
final: ${{ inputs.mode == 'final' }}
|
final: ${{ inputs.mode == 'final' }}
|
||||||
npm: ${{ inputs.npm }}
|
npm: ${{ inputs.npm }}
|
||||||
|
downstreams: '["element-hq/element-web"]'
|
||||||
dependencies: |
|
dependencies: |
|
||||||
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|
matrix-js-sdk=${{ inputs.matrix-js-sdk }}
|
||||||
|
|
Loading…
Reference in a new issue