Skip to content

Commit

Permalink
Merge pull request #33 from Dariusch/main
Browse files Browse the repository at this point in the history
add keyword to auto close combined Pull Requests
  • Loading branch information
GrantBirki authored Sep 13, 2023
2 parents e76d18a + 41a9591 commit a73e17e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export async function run() {

if (statusOK) {
core.info('Adding branch to array: ' + branch)
const prString = '#' + pull['number'] + ' ' + pull['title']
const prString = 'Closes #' + pull['number'] + ' ' + pull['title']
branchesAndPRStrings.push({branch, prString})
baseBranch = pull['base']['ref']
baseBranchSHA = pull['base']['sha']
Expand Down

0 comments on commit a73e17e

Please sign in to comment.