Skip to content

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

Python

Use pull_request_target for PR labeler

Edwin Jose073459e2118e
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 575606eb6..76c5edcf1 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,7 +1,9 @@
name: PR Labeler
on:
- pull_request:
+ pull_request_target:
+ # NOTE: pull_request_target is required to have write permissions to add labels on PRs from forks.
+ # This workflow must not be modified to check out or execute untrusted PR code, as it runs with base repo permissions.
types: [opened, synchronize]
jobs: