mirror of
https://github.com/CringeStudios/element-desktop.git
synced 2025-01-18 23:44:59 +01:00
31 lines
993 B
YAML
31 lines
993 B
YAML
|
name: Release Drafter
|
||
|
on:
|
||
|
push:
|
||
|
branches: [staging]
|
||
|
concurrency: ${{ github.workflow }}
|
||
|
jobs:
|
||
|
element-web:
|
||
|
runs-on: ubuntu-latest
|
||
|
outputs:
|
||
|
version: ${{ steps.release.outputs.tag_name }}
|
||
|
steps:
|
||
|
- name: Get draft release
|
||
|
id: release
|
||
|
uses: cardinalby/git-get-release-action@cedef2faf69cb7c55b285bad07688d04430b7ada # v1
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.ELEMENT_BOT_TOKEN }}
|
||
|
repo: vector-im/element-web
|
||
|
with:
|
||
|
latest: true
|
||
|
|
||
|
draft:
|
||
|
needs: element-web
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: release-drafter/release-drafter@dabcf3767562210392d862070ed2ef6434b9bc6f # v5
|
||
|
env:
|
||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||
|
with:
|
||
|
disable-autolabeler: true
|
||
|
version-template: ${{ needs.element-web.outputs.version }}
|