Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snow-actions/unanimously-approved
Approved by all reviewers
https://github.com/snow-actions/unanimously-approved
actions github-actions pull-request pull-request-review
Last synced: about 2 months ago
JSON representation
Approved by all reviewers
- Host: GitHub
- URL: https://github.com/snow-actions/unanimously-approved
- Owner: snow-actions
- License: mit
- Created: 2021-05-01T15:52:07.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-05-01T14:46:17.000Z (8 months ago)
- Last Synced: 2024-05-02T09:55:09.636Z (8 months ago)
- Topics: actions, github-actions, pull-request, pull-request-review
- Language: TypeScript
- Homepage:
- Size: 2.5 MB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Unanimously Approved
Approved by all reviewers.
## Usage
Create `.github/workflows/unanimously-approved.yml`.
```yml
name: Unanimously Approvedon:
pull_request:
types: [opened, reopened, synchronize, review_requested, review_request_removed]
pull_request_review:
types: [submitted, dismissed]jobs:
unanimously-approved:
runs-on: ubuntu-latest
timeout-minutes: 1steps:
- uses: snow-actions/[email protected]
```Add `review passing` status to branch protection rules.
(`unanimously-approved` status always success because each event creates status and outdated status prevents merge.)## Supported
### Runners
See [ci.yml](.github/workflows/ci.yml)
- `ubuntu-*`
- `windows-*`
- `macos-*`
- `self-hosted`### Events
- `pull_request`
- `pull_request_review`## Success or Fail
* :heavy_check_mark: Success when all reviewers approve
* :x: Fail when some reviewers do not approve
* :x: Fail when there is no reviewers## Inputs
Optional.
See [action.yml](action.yml)