Skip to content

Commit 09080dc

Browse files
committed
Add default values for some inputs for convenience
1 parent b112e25 commit 09080dc

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ A simple yet powerful action to automatically update your AUR package to the ver
66

77
| Input | Required | Description |
88
| -------------------- | -------- | ------------------------------------------------------------- |
9-
| `tag_version_prefix` | `true` | The prefix of the version used in the tag. (`v` by default). |
9+
| `tag_version_prefix` | `false` | The prefix of the version used in the tag. (`v` by default). |
1010
| `package_name` | `true` | The name of the AUR package to update. |
11-
| `commit_username` | `true` | The username to use when creating the new commit. |
12-
| `commit_email` | `true` | The email to use when creating the new commit. |
11+
| `commit_username` | `false` | The username to use when creating the new commit. |
12+
| `commit_email` | `false` | The email to use when creating the new commit. |
1313
| `ssh_private_key` | `true` | The SSH private key with access to the specified AUR package. |
1414

1515
## Example

action.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ branding:
77
inputs:
88
tag_version_prefix:
99
description: The prefix of the version used in the tag. (`v` by default).
10-
required: true
10+
required: false
1111
default: v
1212
package_name:
1313
description: The name of the AUR package to update.
1414
required: true
1515
commit_username:
1616
description: The username to use when creating the new commit.
17-
required: true
17+
required: false
18+
default: github-action[bot]
1819
commit_email:
1920
description: The email to use when creating the new commit.
20-
required: true
21+
required: false
22+
default: 41898282+github-actions[bot]@users.noreply.github.com
2123
ssh_private_key:
2224
description: The SSH private key with access to the specified AUR package.
2325
required: true

0 commit comments

Comments
 (0)