Skip to content

Commit

Permalink
chore(CI): use pr title as integration message
Browse files Browse the repository at this point in the history
pr中使用/integrate命令提交集成的方式会默认直接使用pr的title作为集成单的title,并包含pr提交者的github名称

log:
  • Loading branch information
hudeng-go authored and deepin-ci-robot committed Jul 11, 2023
1 parent 559e911 commit 19a2cf1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-integration-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ jobs:
const fs = require('fs')
integrationContent = yaml.load(fs.readFileSync('integration.yml'), 'utf8')
integrationContent.message = "Integrated for " + milestone
// use pull request title as integration title
integrationContent.message = "${{ github.event.pull_request.title }} by @${{ github.event.pull_request.user.login }}"
integrationContent.milestone = milestone
if (topic != "undefined") {
integrationContent.topic = topic
Expand Down

0 comments on commit 19a2cf1

Please sign in to comment.