Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
Signed-off-by: Sachin Panayil <[email protected]>
  • Loading branch information
sachin-panayil committed Dec 20, 2024
1 parent 5b7ee3e commit 0f8cb74
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 5 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ inputs:
This option will be ignored if output_type != "issue".
default: '[Repolinter] Open Source Policy Issues'
issue_label_name:
label_name:
required: false
description: >
The name to use for the issue label created by repolinter-action. This name
Expand All @@ -100,7 +100,7 @@ inputs:
This option will be ignored if output_type != "issue".
default: 'repolinter'
issue_label_color:
label_color:
required: false
description: >
The color to use for the issue label created by repolinter-action. The value
Expand Down Expand Up @@ -133,9 +133,9 @@ runs:
INPUT_REPOSITORY: ${{ inputs.repository }}
INPUT_OUTPUT_TYPE: ${{ inputs.output_type }}
INPUT_OUTPUT_NAME: ${{ inputs.output_name }}
INPUT_ISSUE_LABEL_NAME: ${{ inputs.issue_label_name }}
INPUT_ISSUE_LABEL_COLOR: ${{ inputs.issue_label_color }}
INPUT_LABEL_NAME: ${{ inputs.label_name }}
INPUT_LABEL_COLOR: ${{ inputs.label_color }}
INPUT_LABELS: ${{ inputs.labels }}
branding:
color: green
icon: refresh-cw
icon: refresh-cw
1 change: 1 addition & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,7 @@ function run(disableRetry) {
}
});
core.startGroup('Sending a PR');
core.info(`Lables: ${LABELS} `);
try {
const [owner, repo] = REPO.split('/');
const originalLables = LABELS.replace(/\s/g, "");
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ export default async function run(disableRetry?: boolean): Promise<void> {
})

core.startGroup('Sending a PR')
core.info(`Lables: ${LABELS} `)

try {
const [owner, repo] = REPO.split('/')
Expand Down Expand Up @@ -233,4 +234,4 @@ export default async function run(disableRetry?: boolean): Promise<void> {
} else if ((error as RequestError).stack) console.log("core.error(error.stack)")
else core.error((error as RequestError))
}
}
}

0 comments on commit 0f8cb74

Please sign in to comment.