digraph add_resource {
fontname="Helvetica,Arial,sans-serif"
tooltip="Workflow: changing a MOTBX resource"
node [
fontname="Helvetica,Arial,sans-serif",
shape=box, style="filled"]
edge [fontname="Helvetica,Arial,sans-serif"]
issue_creation [
label=<<b>MOTBX community member:</b><br/>Create issue to request addition,<br/>removal or update of MOTBX resource>,
color="#fa9632", tooltip="Create issue", fontcolor="#ffffff",
URL="https://github.com/EATRIS/motbx/issues/new/choose"];
first_review [
label=<<b>MOTBX team:</b><br/>Review request>,
color="#1d2850", fontcolor="#ffffff", tooltip="Review issue",
URL="https://github.com/EATRIS/motbx/issues"];
approve_request [
label="Approve request?",
color="#d2d2d2", shape="diamond",
tooltip="Should the resource be added?"];
request_info [
label="Request additional information?",
color="#d2d2d2", shape="diamond",
tooltip="Is additional information needed?"];
comment_issue [
label=<<b>MOTBX team:</b><br/>Comment on issue to get additional details>,
color="#1d2850", fontcolor="#ffffff",
tooltip="Request further information",
URL="https://github.com/EATRIS/motbx/issues"];
provide_info [
label=<<b>MOTBX community member:</b><br/>Comment on issue to provide further details>,
color="#fa9632", tooltip="Provide further information",
fontcolor="#ffffff", URL="https://github.com/EATRIS/motbx/issues"];
close_reject_issue [
label=<<b>MOTBX team:</b><br/>Close issue>,
color="#1d2850", fontcolor="#ffffff", tooltip="Close issue",
URL="https://github.com/EATRIS/motbx/issues"];
branch_creation [
label=<<b>MOTBX team:</b><br/>Create a new branch, add assignee>,
color="#1d2850", fontcolor="#ffffff", tooltip="Create branch",
URL="https://github.com/EATRIS/motbx/issues"];
branch_update [
label=<<b>MOTBX team:</b><br/>Add, remove, or update resource in branch>,
color="#1d2850", fontcolor="#ffffff", tooltip="Update branch",
URL="https://github.com/EATRIS/motbx/branches"];
pull_request [
label=<<b>MOTBX team:</b><br/>Create pull request>,
color="#1d2850", fontcolor="#ffffff", tooltip="Create pull request",
URL="https://github.com/EATRIS/motbx/branches"];
action_validation [
label=<<b>Triggered automated GitHub action:</b><br/>Perform tests validating resources in repository>,
color="#6450a0", fontcolor="#ffffff",
tooltip="Automated resource validation",
URL="https://github.com/EATRIS/motbx/actions/workflows/validate_resources.yml"];
pull_request_review [
label=<<b>MOTBX team:</b><br/>Review pull request>,
color="#1d2850", fontcolor="#ffffff", tooltip="Review pull request",
URL="https://github.com/EATRIS/motbx/pulls"];
validation_passed [
label="Did all automated checks pass?",
color="#d2d2d2", shape="diamond",
tooltip="Could resources be validated?"];
expectations_met [
label="Do the implemented changes\nmeet expectations?",
color="#d2d2d2", shape="diamond",
tooltip="Is resource described as expected?"];
pull_request_merge [
label=<<b>MOTBX team:</b><br/>Merge pull request and close issue>,
color="#1d2850", fontcolor="#ffffff", tooltip="Merge pull request",
URL="https://github.com/EATRIS/motbx/pulls"];
pull_request_draft [
label=<<b>MOTBX team:</b><br/>Convert pull request to draft,<br/>comment on issue to request edit>,
color="#1d2850", fontcolor="#ffffff", tooltip="Edits required",
URL="https://github.com/EATRIS/motbx/pulls"];
issue_creation -> first_review -> approve_request;
approve_request -> request_info [label=<<i>Reject</i>>, style="dotted"];
request_info -> comment_issue [label=<<i>Yes</i>>, style="dotted"];
comment_issue -> provide_info -> first_review [style="dotted"];
request_info -> close_reject_issue [label=<<i>No</i>>, style="dotted"];
approve_request -> branch_creation [label=<<i>Approve</i>>];
branch_creation -> branch_update -> pull_request -> action_validation;
action_validation -> pull_request_review -> validation_passed;
validation_passed -> expectations_met [label=<<i>Yes</i>>];
expectations_met -> pull_request_merge [label=<<i>Yes</i>>];
validation_passed -> pull_request_draft [label=<<i>No</i>>, style="dotted"];
expectations_met -> pull_request_draft [label=<<i>No</i>>, style="dotted"];
pull_request_draft -> branch_update [style="dotted"];
}