From 6120d986881521b248376c6225c9e42c1e032a66 Mon Sep 17 00:00:00 2001 From: Aoran Zeng Date: Sat, 28 Jun 2025 15:48:03 +0800 Subject: [PATCH] Echo more variables --- .github/workflows/PR-notify.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/PR-notify.yml b/.github/workflows/PR-notify.yml index 15d3064..5c6b75f 100644 --- a/.github/workflows/PR-notify.yml +++ b/.github/workflows/PR-notify.yml @@ -31,6 +31,10 @@ jobs: ❤️ 感谢你的贡献!你的 PR 当前基于 ${{github.base_ref}} 分支,请修改使用 `dev` 分支! comment-tag: "❤️ 感谢你的贡献!" - run: | + echo "github.event.pull_request_target.base.label = [${{github.event.pull_request_target.base.label}}]" + echo "github.event.pull_request_target.base.ref = [${{github.event.pull_request_target.base.ref}}]" + echo "github.event.pull_request.base.label = [${{github.event.pull_request.base.label}}]" + echo "github.event.pull_request.base.ref = [${{github.event.pull_request.base.ref}}]" echo "::error::❌ PR 必须以 dev 分支为目标!当前是 ${GITHUB_BASE_REF}" exit 1