Skip to content

Commit

Permalink
core.notice works and also adds an annotation
Browse files Browse the repository at this point in the history
Signed-off-by: Addisu Z. Taddese <addisu@openrobotics.org>
  • Loading branch information
azeey committed Dec 6, 2024
1 parent 276f60e commit 8505c40
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36019,8 +36019,6 @@ async function run(_local, _lib, _branch) {

if (!_local && labels.length > 0) {
const prNumber = github.context.payload.pull_request.number;
core.debug(`::debug:: Adding labels: [${labels}] to PR [${prNumber}]`);
core.info(`Adding labels: [${labels}] to PR [${prNumber}]`);
core.notice(`Adding labels: [${labels}] to PR [${prNumber}]`);
gh.rest.issues.addLabels(
Object.assign({issue_number: prNumber, labels: labels },
Expand Down
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@ async function run(_local, _lib, _branch) {

if (!_local && labels.length > 0) {
const prNumber = github.context.payload.pull_request.number;
core.debug(`::debug:: Adding labels: [${labels}] to PR [${prNumber}]`);
core.info(`Adding labels: [${labels}] to PR [${prNumber}]`);
core.notice(`Adding labels: [${labels}] to PR [${prNumber}]`);
gh.rest.issues.addLabels(
Object.assign({issue_number: prNumber, labels: labels },
Expand Down

0 comments on commit 8505c40

Please sign in to comment.