You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: to main.yml
add pr-reviewed.yml:
name: PR approvedon:
pull_request_review:
types:
- submittedjobs:
pr-approved:
if: github.event.review.state == 'APPROVED'name: PR has been reviewed and approved, run main pipeline before mergeuses: ./.github/workflows/main.yml
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:
workflow_call:
tomain.yml
pr-reviewed.yml
:[1] https://github.com/orgs/community/discussions/6292
The text was updated successfully, but these errors were encountered: