diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 6338714..eb2e3ce 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -36,3 +36,4 @@ jobs: uses: actions-js/push@master with: github_token: "${{ secrets.GITHUB_TOKEN }}" + branch: refs/pull/${{ github.event.number }}/merge diff --git a/categories/random/another_hyro.png b/categories/random/another_hyro.png new file mode 100644 index 0000000..57e345d Binary files /dev/null and b/categories/random/another_hyro.png differ diff --git a/scripts/util.ts b/scripts/util.ts index 861beac..70d9a4c 100644 --- a/scripts/util.ts +++ b/scripts/util.ts @@ -22,6 +22,9 @@ function parseBody(body: string): Creator | null { for (const line of lines) { const [key, value] = line.split(":"); + if (!key || !value) { + continue; + } result[key.trim()] = value.trim(); }