-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
51 lines (46 loc) · 1.39 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
44
45
46
47
48
49
50
51
---
name: Historian
description: Collects changes between two revisions
author: Memrise
inputs:
token:
description: GitHub API token, used for getting the list of commits
required: true
default: ${{ github.token }}
since:
description: |
Commit-ish to get changes since.
Defaults to the most recent tag, or the one before that if `until` points at the same commit.
until:
description: Commit-ish to get changes until (defaults to HEAD)
default: HEAD
chronological:
description: Output changes in chronological order
default: true
slack channel:
description: Channel ID to include in the Slack message payload
default: ""
slack template:
description: |
Message template to be used for line above the Slack output.
Supports Markdown and makes the following variables available:
- date
- since.full
- since.short
- time
- timeNoSeconds
- until.full
- until.short
Date and times are the current time in UTC.
Default: *Changes from {since.short} to {until.short}*
default: '*Changes from {since.short} to {until.short}*'
outputs:
plain-text:
description: Changes listed in a plain-text format
markdown:
description: Changes listed in Markdown format
slack:
description: Changes prepared in a Slack-payload friendly format
runs:
using: node20
main: dist/index.js