mach/gpu-dawn/.github/workflows/draft_release.yml
Stephen Gutekanst c370e007fd gpu-dawn: checkout repo so we can use git rev-parse
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
2022-02-12 15:21:16 -07:00

15 lines
380 B
YAML

name: Draft release
on:
push:
branches:
- 'main'
jobs:
draft:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Create draft
run: gh release create $(git rev-parse --short HEAD) --title "Automatic release of main @ $(git rev-parse --short HEAD)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}