Skip to content

Commit

Permalink
Add default values for some inputs for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
Freed-Wu committed Jun 18, 2023
1 parent b112e25 commit 09080dc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ A simple yet powerful action to automatically update your AUR package to the ver

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

## Example
Expand Down
8 changes: 5 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ branding:
inputs:
tag_version_prefix:
description: The prefix of the version used in the tag. (`v` by default).
required: true
required: false
default: v
package_name:
description: The name of the AUR package to update.
required: true
commit_username:
description: The username to use when creating the new commit.
required: true
required: false
default: github-action[bot]
commit_email:
description: The email to use when creating the new commit.
required: true
required: false
default: 41898282+github-actions[bot]@users.noreply.github.com
ssh_private_key:
description: The SSH private key with access to the specified AUR package.
required: true
Expand Down

0 comments on commit 09080dc

Please sign in to comment.