Skip to content

Commit 1898a16

Browse files
author
Stuart Pomeroy
committed
I hate this but it works?
1 parent b426cfc commit 1898a16

File tree

317 files changed

+12524
-13223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+12524
-13223
lines changed

dist/index.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3045,10 +3045,6 @@ async function createIssue(event) {
30453045
"database_id": dbID
30463046
},
30473047
"properties": {
3048-
"PR": {
3049-
"type": "url",
3050-
"url": event.pull_request.html_url
3051-
},
30523048
"Issue Number": {
30533049
"type": "number",
30543050
"number": event.number
@@ -3105,6 +3101,13 @@ async function createIssue(event) {
31053101
}
31063102
}
31073103

3104+
if(event.pull_request) {
3105+
body.properties["PR"] = {
3106+
"type": "url",
3107+
"url": event.pull_request.html_url
3108+
};
3109+
}
3110+
31083111
if (event.closed_at) {
31093112
body["Closed at"] = {
31103113
"type": "date",

node_modules/.bin/ncc

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/ncc.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/ncc.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npm

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npm.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npm.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npx

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npx.cmd

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node_modules/.bin/npx.ps1

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)