Skip to content

Commit

Permalink
feat: are-reviewers-required helper (#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
aschwenn authored Sep 12, 2023
1 parent 2b48cb4 commit 1b6df20
Show file tree
Hide file tree
Showing 8 changed files with 394 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .github/workflows/are-reviewers-required.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Are Reviewers Requested

on:
pull_request:
branches: [ main ]
paths:
- 'src/helpers/are-reviewers-required.ts'

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: ./
with:
helper: are-reviewers-required
teams: '@ExpediaGroup/github-helpers-committers'
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ with:

## Available Helpers
Each of the following helpers are defined in a file of the same name in `src/helpers`:
### [are-reviewers-required](.github/workflows/are-reviewers-required.yml)
* Returns true if all teams specified are requested for review on a pull request

### [add-labels](.github/workflows/add-labels.yml)
* Adds one or more labels to a PR

Expand Down
283 changes: 283 additions & 0 deletions dist/465.index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1b6df20

Please sign in to comment.