Skip to content

Commit

Permalink
Merge pull request #3 from tshion/feature/brush_meta_info
Browse files Browse the repository at this point in the history
メタ情報のアップデート
  • Loading branch information
tshion authored Apr 29, 2024
2 parents ab3fe9a + d23ab6d commit 0e9c86a
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# apply-git-user (for GitHub Actions)
Apply a well-known git user to `git config user.*`.

User | Sample image
--- | :---:
actions-user | ![actions-user](./docs/actions-user.png)
github-actions | ![github-actions](./docs/github-actions.png)
(Latest git commit user) | ![Latest git commit user](./docs/latest-commit.png)
* actions-user
* github-actions
* (Latest git commit user)



Expand All @@ -14,14 +12,16 @@ github-actions | ![github-actions](./docs/github-actions.png)
``` yaml
- uses: tshion/apply-git-user@(version)
with:
user: (placeholder)
user: (git user)
```
Replace `(placeholder)` with one of the following values.
Replace `(git user)` with one of the following values.

* `actions-user`
* `github-actions`
* `latest-commit`
`(git user)` | User | Description
--- | --- | ---
`actions-user` | ![actions-user](./docs/actions-user.png) | |
`github-actions` | ![github-actions](./docs/github-actions.png) | |
`latest-commit` | ![Latest git commit user](./docs/latest-commit.png) | Latest git commit user

### Use `working directory`
``` yaml
Expand All @@ -32,15 +32,15 @@ Replace `(placeholder)` with one of the following values.
- uses: tshion/apply-git-user@(version)
with:
path: from
user: (placeholder)
user: (git user)
```

### Use `git config --global user.*`
``` yaml
- uses: tshion/apply-git-user@(version)
with:
global: true
user: (placeholder)
user: (git user)
```


Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: "Apply git user"
description: "Apply a well-known git user to 'git config user.*'."
branding:
icon: "user-plus"
color: "blue"
icon: user-plus
color: orange

inputs:
global:
Expand Down
Binary file modified docs/actions-user.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/github-actions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/latest-commit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0e9c86a

Please sign in to comment.