mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-16 09:50:40 +08:00
ci: auto gen changelogs 仅在非草稿状态下生成 (#4660)
This commit is contained in:
4
.github/workflows/gen-changelog.yml
vendored
4
.github/workflows/gen-changelog.yml
vendored
@@ -2,12 +2,12 @@ name: gen-changelog
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened]
|
||||
types: [opened, reopened, ready_for_review]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
gen:
|
||||
if: startsWith(github.event.pull_request.title, 'Release v') || startsWith(github.event.pull_request.title, 'release v')
|
||||
if: github.event.pull_request.draft == false && (startsWith(github.event.pull_request.title, 'Release v') || startsWith(github.event.pull_request.title, 'release v'))
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
Reference in New Issue
Block a user