From 8e5ce1e1885871218000036838592967588721c1 Mon Sep 17 00:00:00 2001 From: Nguyen Ngoc Minh <91668012+Minh141120@users.noreply.github.com> Date: Wed, 23 Apr 2025 13:40:46 +0700 Subject: [PATCH] ci: add condition pr labelling job for forked repo (#4934) --- .github/workflows/auto-label-conventional-commits.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/auto-label-conventional-commits.yaml b/.github/workflows/auto-label-conventional-commits.yaml index 3a915dd83..35a852335 100644 --- a/.github/workflows/auto-label-conventional-commits.yaml +++ b/.github/workflows/auto-label-conventional-commits.yaml @@ -6,6 +6,7 @@ on: - opened jobs: label_prs: + if: github.event.pull_request.head.repo.full_name == github.repository runs-on: ubuntu-latest permissions: pull-requests: write