-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yaml
30 lines (30 loc) · 1002 Bytes
/
action.yaml
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
name: 'ChangeLog JSON'
description: 'GitHub Action that uses the GitHub API an generates a JSON file with the changelog'
author: [email protected]
inputs:
github-token:
description: 'The GitHub Token to use for authentication'
required: true
repositories:
description: 'The repositories to query for the changelog'
required: true
organization:
description: 'The organization to query for the repositories'
required: true
output-file:
description: 'The output file to write the changelog to'
required: true
default: 'CHANGELOG.json'
expand-links:
description: 'Expand the links in the changelog'
required: false
default: 'true'
runs:
using: 'docker'
image: 'docker://ghcr.io/prodyna/changelog-json:v1.4'
env:
GITHUB_TOKEN: ${{ inputs.github-token }}
REPOSITORIES: ${{ inputs.repositories }}
ORGANIZATION: ${{ inputs.organization }}
OUTPUT_FILE: ${{ inputs.output-file }}
EXPAND_LINKS: ${{ inputs.expand-links }}