generated from ExpediaGroup/new-project
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(approvals-satisfied): add approvals-satisfied helper (#309)
* feat(approvals-satisfied): add approvals-satisfied helper * update readme * ensure that each codeowner review is satisfied * refactor * refactor * rename * fix type issue * dummy
- Loading branch information
1 parent
11393af
commit 3076bb7
Showing
14 changed files
with
525 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Approvals Satisfied | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
paths: | ||
- 'src/helpers/approvals-satisfied.ts' | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: ${{ github.event.pull_request.head.ref }} | ||
repository: ${{ github.event.pull_request.head.repo.full_name }} | ||
token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- uses: ./ | ||
id: approvals-satisfied | ||
with: | ||
helper: approvals-satisfied | ||
github_token: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }} | ||
|
||
- if: steps.approvals-satisfied.outputs.output == 'true' | ||
run: echo "PR approvals have been satisfied!" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.