Skip to content

Commit

Permalink
Merge pull request #3924 from zowe/fix/pr-label-checker
Browse files Browse the repository at this point in the history
Fix PR label checker and broken link checker
  • Loading branch information
anaxceron authored Oct 7, 2024
2 parents ffd3ec3 + fdbc2c2 commit 807de9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Create symlinks
run: |
find docs -name "*.md" -type f | while read f; do
ln -s $(basename $f) ${f%.*}
ln -s "$(basename "$f")" "${f%.*}"
done
- name: Restore lychee cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-comment-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
const body = context.payload.comment.body;
if (body.startsWith("/labels ")) {
console.log("Comment body:", body);
const repoLabels = (await github.rest.issues.listLabelsForRepo(context.repo)).data.map((label) => label.name);
const repoLabels = (await github.rest.issues.listLabelsForRepo({ ...context.repo, per_page: 100 })).data.map((label) => label.name);
const labelMapping = {};
for (const label of repoLabels) {
if (label.includes(": ")) {
Expand Down

0 comments on commit 807de9c

Please sign in to comment.