Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
ax-vasquez committed Aug 30, 2023
1 parent 19380ba commit 9051d08
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -74878,6 +74878,7 @@ const detectPrNumber = async () => {
}

if (prNumber) {
console.log(`PR NUMBER DETECTED: ${prNumber}`)
if (!CYPRESS_PULL_REQUEST_ID) {
core.exportVariable('CYPRESS_PULL_REQUEST_ID', prNumber)
}
Expand All @@ -74892,6 +74893,7 @@ const detectPrNumber = async () => {
)

if (prResp && prResp.data && prResp.data.html_url) {
console.log(`PR URL DETECTED: ${prResp.data.html_url}`)
if (!CYPRESS_PULL_REQUEST_URL) {
core.exportVariable(
'CYPRESS_PULL_REQUEST_URL',
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,7 @@ const detectPrNumber = async () => {
}

if (prNumber) {
console.log(`PR NUMBER DETECTED: ${prNumber}`)
if (!CYPRESS_PULL_REQUEST_ID) {
core.exportVariable('CYPRESS_PULL_REQUEST_ID', prNumber)
}
Expand All @@ -496,6 +497,7 @@ const detectPrNumber = async () => {
)

if (prResp && prResp.data && prResp.data.html_url) {
console.log(`PR URL DETECTED: ${prResp.data.html_url}`)
if (!CYPRESS_PULL_REQUEST_URL) {
core.exportVariable(
'CYPRESS_PULL_REQUEST_URL',
Expand Down

0 comments on commit 9051d08

Please sign in to comment.