Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesnetherton committed Aug 9, 2024
1 parent 8555f5a commit d27b096
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/label-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ jobs:
// Check to see if labels already exist, and if not, create them so we can set the color
const existingLabels = await github.paginate(
`GET /repos/apache/camel-quarkus/labels`,
{ owner: "apache", name: "camel-quarkus" },
`GET /repos/${context.repo.owner}/${context.repo.repo}/labels`,
{ owner: context.repo.owner, name: context.repo.repo },
(response) => response.data.map((label) => label.name)
);
Expand All @@ -146,7 +146,7 @@ jobs:
if (existingLabels) {
for (let label of labels) {
if (!existingLabels.includes(label)) {
labelColor = 'ededed';
let labelColor = 'ededed';
if (label.startsWith("area/")) {
labelColor = '283482';
}
Expand Down

0 comments on commit d27b096

Please sign in to comment.