mirror of
https://github.com/nonebot/nonebot2.git
synced 2026-04-17 06:07:55 +00:00
👷 CI: 移除 Pull Request Target 触发器 (#3946)
This commit is contained in:
9
.github/workflows/release-drafter.yml
vendored
9
.github/workflows/release-drafter.yml
vendored
@@ -2,17 +2,14 @@ name: Release Drafter
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
|
||||||
- v*
|
|
||||||
pull_request_target:
|
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
types:
|
tags:
|
||||||
- closed
|
- v*
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-release-draft:
|
update-release-draft:
|
||||||
if: github.event_name == 'pull_request_target'
|
if: github.ref == 'refs/heads/master'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
concurrency:
|
concurrency:
|
||||||
group: pull-request-changelog
|
group: pull-request-changelog
|
||||||
|
|||||||
Reference in New Issue
Block a user