-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Context
PR flow with a pipeline after approval is not feasable with one contributor, because you cannot approve your own PRs [1].
Up until then YOLO, I guess.
To do
When there is a second contributor to the project, consider the following:
- add trigger
workflow_call:tomain.yml - add
pr-reviewed.yml:
name: PR approved
on:
pull_request_review:
types:
- submitted
jobs:
pr-approved:
if: github.event.review.state == 'APPROVED'
name: PR has been reviewed and approved, run main pipeline before merge
uses: ./.github/workflows/main.yml- enable mandatory review for PRs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Type
Projects
Status
Backlog