element-web/.github/workflows/release.yml
David Baker 0bbed853da
Pass bot token through explicitly (#56)
Because apparently secrets: inherit only works for environment secrets, and it only took me several hours of research to track this down 🙄
2024-09-18 15:36:30 +00:00

27 lines
821 B
YAML

name: Release Process
on:
workflow_dispatch:
inputs:
mode:
description: What type of release
required: true
default: rc
type: choice
options:
- rc
- final
npm:
description: Publish to npm
required: true
type: boolean
default: true
concurrency: ${{ github.workflow }}
jobs:
release:
uses: matrix-org/matrix-js-sdk/.github/workflows/release-make.yml@develop
secrets:
ELEMENT_BOT_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
with:
final: ${{ inputs.mode == 'final' }}
npm: ${{ inputs.npm }}
downstreams: '["element-hq/element-web"]'