Skip to content

Commit

Permalink
fix: Add usage instructions to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Sep 18, 2023
1 parent adac431 commit 5030b8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Quick shortcut action for authenticating as the GitHub Actions bot through `git config`.
Quick shortcut action for identifying as the GitHub Actions bot through `git config`.

# Inputs

- **working-directory** (default: current): run `git config` in the specified directory
- **global** (default: false): run `git config --global` instead of `git config`

# Usage

```yaml
- uses: alorel-actions/git-ident@v1
```
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: GitHub Actions Bot git auth
description: Quick shortcut action for authenticating as the GitHub Actions bot through `git config`.
name: GitHub Actions Bot git identity
description: Quick shortcut action for identifying as the GitHub Actions bot through `git config`
inputs:
working-directory:
description: run git config in the specified directory
Expand Down

0 comments on commit 5030b8d

Please sign in to comment.