Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(ci): pass issue_number when labeling new issues

Amruth Pillaid9da31e7bc2c
diff --git a/.github/workflows/label-issues.yml b/.github/workflows/label-issues.yml
index 3908f4695..151ac1106 100644
--- a/.github/workflows/label-issues.yml
+++ b/.github/workflows/label-issues.yml
@@ -26,5 +26,9 @@ jobs:
const labels = getIssueLabels(context.payload.issue.body ?? "");
if (labels.length > 0) {
- await github.rest.issues.addLabels({ ...context.issue, labels });
+ await github.rest.issues.addLabels({
+ ...context.repo,
+ issue_number: context.issue.number,
+ labels,
+ });
}