Skip to content

Commit

Permalink
Merge pull request #9 from dixahq/vulnarability-dependencies
Browse files Browse the repository at this point in the history
Vulnerabilities - Update dependencies
  • Loading branch information
adipatel authored Feb 4, 2021
2 parents 8ca10b8 + 3a82a69 commit b8b2ff4
Show file tree
Hide file tree
Showing 4 changed files with 3,361 additions and 2,339 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

# Auto Assign Review Teams
- Assign individual persons or member of [GitHub Teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams)
- Assign individual persons or member of [GitHub Teams](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/organizing-members-into-teams)
- Team Assignment Works best, if [code review assignment](https://help.github.com/en/github/setting-up-and-managing-organizations-and-teams/managing-code-review-assignment-for-your-team) for the team is enabled

## Example Usage
```yaml
name: "Assign Reviewers"
on:
on:
pull_request:
types: [opened, ready_for_review]

jobs:
assign-reviewers:
runs-on: ubuntu-latest
Expand All @@ -19,24 +19,24 @@ jobs:
with:
repo-token: ${{ secrets.USER_TOKEN_THAT_CAN_ASSIGN_REVIEWERS_ACTION }}
teams: "my-github-team" # only works for GitHub Organisation/Teams
persons: "github-username" # add individual persons here
persons: "github-username" # add individual persons here
```
### Build & Release
This project follows the template https://github.com/actions/typescript-action . Her are instructions to build & package.
Install the dependencies
Install the dependencies
```bash
$ npm install
```

Build the typescript and package it for distribution
```bash
$ npm run build && npm run pack
$ npm run build
```

Run the tests :heavy_check_mark:
Run the tests :heavy_check_mark:

```bash
$ npm test
Expand All @@ -46,6 +46,6 @@ PASS __tests__/main.test.ts
✓ It requests a review to a team (183ms)
Reviewer
✓ It requests a review to a person (13ms)

...
```
Loading

0 comments on commit b8b2ff4

Please sign in to comment.