Skip to content

Commit

Permalink
docs(readme): document the base_sha and head_sha outputs
Browse files Browse the repository at this point in the history
Documents the outputs which were added through #8.
  • Loading branch information
Addono committed Jun 23, 2022
1 parent b4a471d commit e0aaf13
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,26 @@ TODO: test also on `pull_request` events.

## Inputs

## `token`
### `token`
**Required:** Github API Token

## Outputs

## `base_ref`
### `base_ref`
Pull request base ref.

## `head_ref`
### `base_sha`
The SHA hash of the base ref.

### `head_ref`
Pull request head ref.

## Example usage
### `head_sha`
The SHA hash of the head ref.

## Usage

### Example usage
```
- name: resolve pr refs
id: refs
Expand All @@ -25,7 +33,7 @@ Pull request head ref.
token: ${{ secrets.GITHUB_TOKEN }}
```

## Example usecase
### Example usecase
```
on:
issue_comment:
Expand Down

0 comments on commit e0aaf13

Please sign in to comment.