👷 CI: 移除 Pull Request Target 触发器 (#3946)

This commit is contained in:
StarHeart
2026-04-06 16:42:15 +08:00
committed by GitHub
parent c0f9a494bc
commit 9b69f5d763

View File

@@ -2,17 +2,14 @@ name: Release Drafter
on:
push:
tags:
- v*
pull_request_target:
branches:
- master
types:
- closed
tags:
- v*
jobs:
update-release-draft:
if: github.event_name == 'pull_request_target'
if: github.ref == 'refs/heads/master'
runs-on: ubuntu-latest
concurrency:
group: pull-request-changelog