fix: broken workflow

feat/roadmap-page
Kamran Ahmed 3 months ago
parent 925dd62fe3
commit c48c9e75f9
  1. 4
      .github/workflows/label-issue.yml

@ -20,7 +20,7 @@ jobs:
if (issue.labels.some(label => label.name === 'topic-change')) { if (issue.labels.some(label => label.name === 'topic-change')) {
if (roadmapUrl) { if (roadmapUrl) {
const roadmapSlug = new URL(roadmapUrl[0]).pathname.replace(/\//, ''); const roadmapSlug = new URL(roadmapUrl[0]).pathname.replace(/\//, '');
github.issues.addLabels({ github.rest.issues.addLabels({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
issue_number: issue.number, issue_number: issue.number,
@ -30,7 +30,7 @@ jobs:
// Close the issue if it has no roadmap URL // Close the issue if it has no roadmap URL
if (!roadmapUrl) { if (!roadmapUrl) {
github.issues.update({ github.rest.issues.update({
owner: context.repo.owner, owner: context.repo.owner,
repo: context.repo.repo, repo: context.repo.repo,
issue_number: issue.number, issue_number: issue.number,

Loading…
Cancel
Save