Skip to content

Commit

Permalink
Doc Update (#3)
Browse files Browse the repository at this point in the history
* Create FUNDING.yml

* Update task names

* Update action.yml

* Update README.md

* Doc: toshimaru/auto-author-assign@v0.0.1
  • Loading branch information
toshimaru authored Apr 15, 2020
1 parent 1eef525 commit 40c7851
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 6 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: toshimaru
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: 'Auto Author Assign'
on: [pull_request]
jobs:
hello_world_job:
add-assignees:
runs-on: ubuntu-latest
name: Assign author
steps:
# To use this repository's private action, you must check out the repository
- name: Checkout
uses: actions/checkout@v2
- name: Test toshimaru/auto-author-assign action
Expand Down
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# auto-author-assign

GitHub Actions: Assign pull request author automatically.

## Usage

```yaml
name: 'Auto Author Assign'

on: pull_request

jobs:
add-assignees:
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v0.0.1
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
```
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: 'Auto Author Assign'
description: 'Assign author to pull requests when pull requests are opened.'
description: 'Assign author to pull requests when the pull requests are opened.'
author: 'toshimaru'
inputs:
repo-token:
description: 'A token for the repo'
description: 'A token for the repository'
required: true
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'user-plus'
color: 'pink'
color: 'red'

0 comments on commit 40c7851

Please sign in to comment.