-
Notifications
You must be signed in to change notification settings - Fork 0
32 lines (29 loc) · 883 Bytes
/
commitizen.yaml
File metadata and controls
32 lines (29 loc) · 883 Bytes
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
on:
workflow_call:
secrets:
access-token:
description: "A token passed from the caller workflow"
required: true
outputs:
version:
description: "Computed repository version"
value: ${{ jobs.bump_version.outputs.version }}
jobs:
bump_version:
name: "Bump version and create changelog with commitizen"
runs-on: ubuntu-latest
outputs:
version: ${{ steps.cz.outputs.version }}
steps:
- name: Check out
uses: actions/checkout@v6.0.2
with:
fetch-depth: 0
token: "${{ secrets.access-token }}"
- id: cz
name: Create bump and changelog
uses: commitizen-tools/commitizen-action@master
with:
github_token: ${{ secrets.access-token }}
- name: Print Version
run: echo "Bumped to version ${{ steps.cz.outputs.version }}"