-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (39 loc) · 1.09 KB
/
release.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: ⚠️ Release
on:
push:
branches:
- main
paths:
- projects/ng-dompurify/**
workflow_dispatch:
inputs:
forcePush:
type: boolean
required: false
description: --force-publish package
mode:
type: choice
description: force package to be versioned (depend --force-publish)
required: false
default: minor
options:
- patch
- minor
- major
- prepatch
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'chore(release)')"
steps:
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/run/[email protected]
with:
ref: ${{ github.ref }}
githubToken: ${{ secrets.TAIGA_FAMILY_BOT_PAT }}
npmToken: ${{ secrets.TAIGA_UI_SCOPE_NPM_TOKEN }}
forcePush: ${{ github.event.inputs.forcePush }}
mode: ${{ github.event.inputs.mode }}
concurrency:
group: release-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true