1
0
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:
Kamran Ahmed
2024-05-10 21:17:32 +01:00
parent c83a91eec4
commit a76413fd33

View File

@@ -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')) {