Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Workflows no longer run when editing PR titles or descriptions (#17648)

Jeffrey Chenc70455305fa7
diff --git a/.github/workflows/target-branch.yml b/.github/workflows/target-branch.yml
index 78b5a0ce0c..fb194d187f 100644
--- a/.github/workflows/target-branch.yml
+++ b/.github/workflows/target-branch.yml
@@ -6,6 +6,8 @@ on:
jobs:
check-branch:
+ # https://docs.github.com/en/webhooks/webhook-events-and-payloads?actionType=edited#pull_request
+ if: ${{ github.repository_owner == 'siyuan-note' && (github.event.action == 'opened' || github.event.changes.base) }}
runs-on: ubuntu-latest
permissions:
pull-requests: write