diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index f32de72..dfd5419 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -4,12 +4,12 @@ on: branches: - main paths-ignore: - - "README.md" + - 'README.md' pull_request: branches: - main schedule: - - cron: "0 0 * * 7" + - cron: '0 0 * * 0' jobs: build: runs-on: ubuntu-latest diff --git a/changelog.md b/changelog.md index 240886c..8ebac8d 100644 --- a/changelog.md +++ b/changelog.md @@ -1,2 +1,5 @@ +### Version 1.0.1 +- Fix the GitHub Actions workflow `auto-update` + ### Version 1.0.0 - Initial version diff --git a/package.json b/package.json index 295c9ed..3082aef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-emoji-icon-list", - "version": "1.0.0", + "version": "1.0.1", "description": "Generate GitHub Emoji Icon list in Markdown format.", "homepage": "https://github.com/jasonfoknxu/github-emoji-icon-list", "author": "jasonfoknxu (https://nxuweb.net)", diff --git a/src/app.ts b/src/app.ts index 0992410..28a7caf 100644 --- a/src/app.ts +++ b/src/app.ts @@ -1,6 +1,6 @@ /** - * add Generator - * - Version: 1.0.0 + * GitHub Emoji Icon Icon Markdown Generator + * - Version: 1.0.1 * - Developer: NXU (GitHub: @jasonfoknxu) * - https://github.com/jasonfoknxu/github-emoji-icon-list */ @@ -30,7 +30,7 @@ import * as Utils from './utilities'; // Process the Unicode emoji data from the Unicode Emoji Data text const unicodeEmojiLines = unicodeEmojisData.split(/\r?\n/); let unicodeEmojis: IUnicodeEmojiData = {}; - let group, subgroup, emojiGroups = [], emojiSubgroups = [], emojiCount = 0; + let group = '', subgroup = '', emojiGroups = [], emojiSubgroups = [], emojiCount = 0; for (let i = 0; i < unicodeEmojiLines.length; i++) { const parseResult = Utils.parse(unicodeEmojiLines[i]); if (!parseResult) { continue; }