forked from knl/niv-updater-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
76 lines (75 loc) · 4.3 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: 'niv Updater Action'
description: 'A GitHub action that detects updates to dependencies tracked by niv and creates pull requests to keep them up to date.'
author: 'knl'
runs:
using: 'node12'
main: 'main.js'
inputs:
pull_request_base:
description: 'The name of the branch to issue the pull requests against. Defaults to an empty string, which means to take the default branch for the repository.'
required: false
default: ''
sources_file:
description: 'The path in the repo to the sources.json file. This value will be passed to niv via `--sources-file` option. Defaults to `nix/sources.json`.'
required: false
default: 'nix/sources.json'
niv_version:
description: 'The niv version to be used. Defaults to `master`, meaning niv-updater-action will take the latest niv for each run. You may want to fix a particular version and avoid future breaks to your workflow.'
required: false
default: 'master'
keep_updating:
description: 'If PR already exists, keep it updated with new changes. The branch will be force updated, as this process keeps a single commit on a branch. Defaults to false to maintain the old behaviour.'
required: false
default: false
branch_prefix:
description: 'The prefix used for update branches, created by this action. The action does not sanitize the branch name. For a description of what a valid branch name is, please consult: https://mirrors.edge.kernel.org/pub/software/scm/git/docs/git-check-ref-format.html. Defaults to "update/".'
required: false
default: 'update/'
skip_versioned_revisions:
description: 'If `true`, will cause the action to skip updating any dependency that has a version in their revision. This is due to the way niv currently works, where it will always update to the latest HEAD of a branch. Thus, if one have a dependency where, for example, `rev=v1.0.0`, niv would normally update it to the latest head of the branch, making `rev` holding the appropriate SHA. This is something one would not normally expect. Thus, this option exists until niv fixes the behaviour. Defaults to `true`.'
required: false
default: true
skip_ssh_repos:
description: 'If `true`, will cause the action to skip updating any dependency that is hosted by a repo accessible via ssh. Defaults to `false`.'
required: false
default: false
whitelist:
description: 'A list of dependencies, comma separated, that will be checked for updates. Other dependencies tracked by niv will not be checked for updates. This list will be consulted before the blacklist. It defaults to the list of all dependencies tracked by niv.'
required: false
default: ''
blacklist:
description: 'A list of dependencies, comma separated, to skip from updating. This list will be consulted after evaluating the whitelist.'
required: false
default: ''
labels:
description: 'A list of labels, *newline* separated, that will be applied to the generated PR. Defaults to an empty list.'
required: false
default: ''
show_merges:
description: 'If `true`, the changelog will contain merge commits listed. Otherwise, they will be skipped (however, the commits from the PRs/branches will shown). Defaults to `false`.'
required: false
default: false
message_prefix:
description: 'The text that will be put in front of the generated changelog. Defaults to empty.'
required: false
default: ''
message_suffix:
description: 'The text that will be put in after the generated changelog. Defaults to empty.'
required: false
default: ''
title_prefix:
description: 'The text that will be put in front of the generated commit title. Defaults to empty.'
required: false
default: ''
github_changelog_no_backreferences:
description: 'If `true`, the changelog will transform all issue links to links via a redirector, to prevent GitHub from backreferencing the created PR in these issues. Defaults to `true`.'
required: false
default: true
debug_output:
description: If `true`, `set -x` will be turned on for the updater script, outputing every step the action takes. This will show up in the action log, and could be useful for trying to reproduce issues locally. Defaults to `false`.
required: false
default: false
branding:
# maybe 'refresh-cw'
icon: 'git-pull-request'
color: 'orange'