-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
43 lines (43 loc) · 1.73 KB
/
action.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
42
43
name: 'Changelog Query'
description: 'Validate the changelog file and extract current release information'
inputs:
changelog:
description: 'name of the changelog file'
required: false
default: 'CHANGELOG.md'
changeMap:
description: 'A configuration file that defines a custom mapping from change kind to version increment.'
required: false
default: ''
dockerProxy:
description: 'A proxy for dockerhub'
required: false
default: ''
mode:
description: 'validation mode for the changelog, one of "release" or "feature"'
required: false
default: 'release'
outputs:
version:
description: 'The release version'
value: ${{ steps.clq.outputs.version }}
tag:
description: 'The tag to apply, the version prefixed with a "v"'
value: ${{ steps.clq.outputs.tag }}
name:
description: 'The release name'
value: ${{ steps.clq.outputs.name }}
status:
description: 'The status of the release (prereleased, released, unreleased, yanked)'
value: ${{ steps.clq.outputs.status }}
changes:
description: 'all the changes for that release'
value: ${{ steps.clq.outputs.changes }}
runs:
using: 'composite'
steps:
- id: clq
run: ${{ github.action_path }}/action.sh ${{ inputs.mode }} ${{ inputs.changelog }} ${{ inputs.changeMap }}
shell: bash
env:
DOCKER_PROXY: ${{ inputs.dockerProxy }}