Skip to content

OpenRAG is a comprehensive, single package Retrieval-Augmented Generation platform built on Langflow, Docling, and Opensearch.

Python

Handle dismissed review events in labels workflow

Edwin Josefba56910c229
diff --git a/.github/workflows/add-labels.yml b/.github/workflows/add-labels.yml
index 0ac38b835..319b4e85b 100644
--- a/.github/workflows/add-labels.yml
+++ b/.github/workflows/add-labels.yml
@@ -2,7 +2,7 @@ name: Manage Review Labels
on:
pull_request_review:
- types: [submitted]
+ types: [submitted, dismissed]
jobs:
label-on-review:
@@ -49,7 +49,7 @@ jobs:
} else {
console.log(`${LGTM_LABEL} label already exists`);
}
- } else if (reviewState === 'changes_requested') {
+ } else if (reviewState === 'changes_requested' || reviewState === 'dismissed') {
const lgtmExists = await hasLgtmLabel();
if (lgtmExists) {