mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-14 13:13:59 +02:00
Fix broken build
This commit is contained in:
2
.github/workflows/label-issue.yml
vendored
2
.github/workflows/label-issue.yml
vendored
@@ -12,7 +12,7 @@ jobs:
|
|||||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
script: |
|
script: |
|
||||||
const issue = context.payload.issue;
|
const issue = context.payload.issue;
|
||||||
const roadmapUrl = issue.body.match(/https?:\/\/roadmap.sh/[^ ]+/);
|
const roadmapUrl = issue.body.match(/https?:\/\/roadmap.sh\/[^ ]+/);
|
||||||
|
|
||||||
// if the issue is labeled as a topic-change, add the roadmap slug as a label
|
// if the issue is labeled as a topic-change, add the roadmap slug as a label
|
||||||
if (issue.labels.some(label => label.name === 'topic-change')) {
|
if (issue.labels.some(label => label.name === 'topic-change')) {
|
||||||
|
Reference in New Issue
Block a user