aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/draft_release.yml
blob: be7618a71ca28728791f26bc21e705e23e9a2331 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: Create release draft

on:
  push:
    tags:
      - "*.*.*"

jobs:
  draft-release:
    runs-on: ubuntu-latest
    if: (github.repository == 'crocs-muni/sec-certs') && (github.ref == 'refs/heads/main')
    steps:
      - name: Checkout
        uses: actions/checkout@v2
      - name: Release
        uses: softprops/action-gh-release@v1
        with:
          draft: true
          generate_release_notes: true