Skip to content

Commit

Permalink
fix: use issue_number instead of issue_id
Browse files Browse the repository at this point in the history
  • Loading branch information
imjohnbo committed Jan 13, 2020
1 parent 78358ba commit 541656e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ inputs:
default: false
required: false
outputs:
issue_id:
description: 'The issue ID created by the radar'
issue_number:
description: 'The issue number of the created radar issue'
runs:
using: 'node12'
main: 'dist/index.js'
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -650,7 +650,7 @@ Previously: #${currentRadarNumber}`
await pin(newRadarId);
}

core.setOutput('issue_id', newRadarId);
core.setOutput('issue_number', newRadarNumber);
}
catch(error) {
core.error(`Error encountered: ${error}.`);
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ Previously: #${currentRadarNumber}`
await pin(newRadarId);
}

core.setOutput('issue_id', newRadarId);
core.setOutput('issue_number', newRadarNumber);
}
catch(error) {
core.error(`Error encountered: ${error}.`);
Expand Down

0 comments on commit 541656e

Please sign in to comment.