{"id":13836625,"url":"https://github.com/actions-cool/issues-helper","last_synced_at":"2025-12-24T10:31:14.706Z","repository":{"id":39686011,"uuid":"323206599","full_name":"actions-cool/issues-helper","owner":"actions-cool","description":"🤖 A GitHub Action easily helps you automatically manage issues. Welcome to try.","archived":false,"fork":false,"pushed_at":"2024-11-01T10:03:59.000Z","size":11385,"stargazers_count":384,"open_issues_count":5,"forks_count":46,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-14T18:04:56.670Z","etag":null,"topics":["actions","helper","issue","issue-labels","issues"],"latest_commit_sha":null,"homepage":"https://actions-cool.github.io/issues-helper/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actions-cool.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-12-21T02:04:00.000Z","updated_at":"2025-05-14T14:42:46.000Z","dependencies_parsed_at":"2023-02-19T08:31:28.276Z","dependency_job_id":"691ea90a-2827-4223-b7c3-ab0acf6631a4","html_url":"https://github.com/actions-cool/issues-helper","commit_stats":{"total_commits":267,"total_committers":21,"mean_commits":"12.714285714285714","dds":"0.49812734082397003","last_synced_commit":"77e16f7f08c16c8c9980f197ac52c1a28ed30f9c"},"previous_names":[],"tags_count":42,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fissues-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fissues-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fissues-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actions-cool%2Fissues-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actions-cool","download_url":"https://codeload.github.com/actions-cool/issues-helper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198514,"owners_count":22030965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["actions","helper","issue","issue-labels","issues"],"created_at":"2024-08-04T15:00:51.254Z","updated_at":"2025-12-24T10:31:14.697Z","avatar_url":"https://github.com/actions-cool.png","language":"TypeScript","funding_links":[],"categories":["Credits"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://actions-cool.github.io/issues-helper/\"\u003e\n    \u003cimg width=\"200\" src=\"https://gw.alipayobjects.com/mdn/rms_f97235/afts/img/A*8xDgSL-O6O4AAAAAAAAAAAAAARQnAQ\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003e🤖 Issues Helper\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nA GitHub Action that easily helps you automatically manage issues\n\n[![](https://img.shields.io/github/actions/workflow/status/actions-cool/issues-helper/ci.yml?branch=main\u0026style=flat-square)](https://github.com/actions-cool/issues-helper/actions)\n[![](https://img.shields.io/badge/marketplace-issues--helper-red?style=flat-square)](https://github.com/marketplace/actions/issues-helper)\n![](https://img.shields.io/github/languages/top/actions-cool/issues-helper?color=%2308979c\u0026style=flat-square)\n[![dumi](https://img.shields.io/badge/docs%20by-dumi-blue?style=flat-square)](https://github.com/umijs/dumi)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\n[![](https://img.shields.io/github/stars/actions-cool/issues-helper?style=flat-square)](https://github.com/actions-cool/issues-helper/stargazers)\n[![](https://img.shields.io/github/v/release/actions-cool/issues-helper?style=flat-square\u0026color=orange)](https://github.com/actions-cool/issues-helper/releases)\n[![](https://img.shields.io/badge/discussions-on%20github-blue?style=flat-square\u0026color=%2308979c)](https://github.com/actions-cool/issues-helper/discussions)\n[![](https://img.shields.io/github/license/actions-cool/issues-helper?style=flat-square)](https://github.com/actions-cool/issues-helper/blob/main/LICENSE)\n\n\u003c/div\u003e\n\nEnglish | [简体中文](README.zh-CN.md)\n\n## 🔗 Link\n\n- [Online documentation](https://actions-cool.github.io/issues-helper)\n- [Online v2 documentation](https://actions-cool.github.io/issues-helper-2.x/)\n- [Changelog](./CHANGELOG.md)\n\n## 😎 Why use GitHub Action?\n\n1. Complete free\n2. Fully automatic\n3. Hosted on the GitHub server, as long as GitHub is not down, it is not affected\n\n\u003e Private projects have a limit of 2000 times per month. [Specific view](https://github.com/settings/billing). Public are unlimited.\n\n## Who is using?\n\nPlease leave a message at [**here**](https://github.com/actions-cool/issues-helper/issues/6).\n\n\u003ctable\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/ant-design/ant-design\"\u003e\n      \u003cimg src=\"https://avatars1.githubusercontent.com/u/12101536?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/ant-design-blazor/ant-design-blazor\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/29775873/129505619-5abddb68-8663-4c71-b7d2-049c716aab26.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/ant-design/ant-design-mobile\"\u003e\n      \u003cimg src=\"https://gw.alipayobjects.com/zos/bmw-prod/b874caa9-4458-412a-9ac6-a61486180a62.svg\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vueComponent/ant-design-vue\"\u003e\n      \u003cimg src=\"https://avatars1.githubusercontent.com/u/32120805?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/ant-design/ant-design\"\u003eant-design\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/ant-design-blazor/ant-design-blazor\"\u003eant-design-blazor\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/ant-design/ant-design-mobile\"\u003eant-design-mobile\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vueComponent/ant-design-vue\"\u003eant-design-vue\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/twbs/bootstrap\"\u003e\n      \u003cimg src=\"https://getbootstrap.com/docs/5.1/assets/brand/bootstrap-logo-shadow.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vuejs/core\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/6128107?s=48\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/umijs/dumi\"\u003e\n      \u003cimg src=\"https://avatars1.githubusercontent.com/u/33895495?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/electron/electron\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/13409222?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/twbs/bootstrap\"\u003ebootstrap\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vuejs/core\"\u003ecore\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/umijs/dumi\"\u003edumi\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/electron/electron\"\u003eelectron\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/element-plus/element-plus\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/68583457\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/alibaba/formily\"\u003e\n      \u003cimg src=\"https://img.alicdn.com/imgextra/i2/O1CN01Kq3OHU1fph6LGqjIz_!!6000000004056-55-tps-1141-150.svg\" width=\"\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vuejs/jsx-next\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/6128107?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/mui/material-ui\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/33663932?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/element-plus/element-plus\"\u003eelement-plus\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/alibaba/formily\"\u003eformily\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vuejs/jsx-next\"\u003ejsx-next\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/mui/material-ui\"\u003ematerial-ui\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/jdf2e/nutui\"\u003e\n      \u003cimg src=\"https://img14.360buyimg.com/imagetools/jfs/t1/167902/2/8762/791358/603742d7E9b4275e3/e09d8f9a8bf4c0ef.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/prettier/prettier\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/29775873/129505900-ca248179-2435-429d-9fd3-779206bcd899.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/react-component\"\u003e\n      \u003cimg src=\"https://avatars3.githubusercontent.com/u/9441414?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/lijinke666/react-music-player\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/29775873/129506058-b0d8c741-f73a-496c-98de-7db2fb586db7.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/jdf2e/nutui\"\u003enutui\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/prettier/prettier\"\u003eprettier\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/react-component\"\u003ereact-component\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/lijinke666/react-music-player\"\u003ereact-music-player\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/antvis/S2\"\u003e\n      \u003cimg src=\"https://gw.alipayobjects.com/mdn/rms_56cbb2/afts/img/A*TI8XSK3W0EkAAAAAAAAAAAAAARQnAQ\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/nolimits4web/swiper\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/29775873/156721728-3b0021ea-6932-4a77-a104-2e0bad97346e.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/umijs/umi\"\u003e\n      \u003cimg src=\"https://avatars1.githubusercontent.com/u/33895495?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vitejs/vite\"\u003e\n      \u003cimg src=\"https://avatars.githubusercontent.com/u/65625612?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/antvis/S2\"\u003eS2\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/nolimits4web/swiper\"\u003eswiper\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/umijs/umi\"\u003eumi\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vitejs/vite\"\u003evite\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vitest-dev/vitest\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/11247099/145112184-a9ff6727-661c-439d-9ada-963124a281f7.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/AttoJS/vue-request\"\u003e\n      \u003cimg src=\"https://user-images.githubusercontent.com/29775873/129506134-55044c85-24cd-47d3-81ef-dba842214d71.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/vuepress/vuepress-next\"\u003e\n      \u003cimg src=\"https://v2.vuepress.vuejs.org/images/hero.png\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\n    \u003ca href=\"https://github.com/zoo-js/zoo\"\u003e\n      \u003cimg src=\"https://avatars1.githubusercontent.com/u/70757173?s=200\u0026v=4\" width=\"46\"/\u003e\n    \u003c/a\u003e\n  \u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vitest-dev/vitest\"\u003evitest\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/AttoJS/vue-request\"\u003evue-request\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/vuepress/vuepress-next\"\u003evuepress-next\u003c/a\u003e\u003c/td\u003e\n  \u003ctd align=\"center\" width=\"180\"\u003e\u003ca href=\"https://github.com/zoo-js/zoo\"\u003ezoo\u003c/a\u003e\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e\n\n## Badge\n\nIf you think `actions-cool` can help you, please copy it to the README to support promotion and bring convenience to more repositories:[![actions-cool](https://img.shields.io/badge/using-actions--cool-blue?style=flat-square)](https://github.com/actions-cool). [More color see](https://github.com/actions-cool/issues-helper/issues/92).\n\n```\n[![actions-cool](https://img.shields.io/badge/using-actions--cool-blue?style=flat-square)](https://github.com/actions-cool)\n```\n\n## ⚡ Feedback\n\nYou are very welcome to try it out and put forward your comments. You can use the following methods:\n\n- Report bugs or consult with [Issue](https://github.com/actions-cool/issues-helper/issues)\n- Discuss via [Discussions](https://github.com/actions-cool/issues-helper/discussions)\n- Submit [Pull Request](https://github.com/actions-cool/issues-helper/pulls) to improve the code of `issues-helper`\n\n## List\n\nWhen the following list does not have the features you want, you can submit it in [issues](https://github.com/actions-cool/issues-helper/issues).\n\n- ⭐ Base\n  - [`add-assignees`](#add-assignees)\n  - [`add-labels`](#add-labels)\n  - [`close-issue`](#close-issue)\n  - [`create-comment`](#create-comment)\n  - [`create-issue`](#create-issue)\n  - [`create-label`](#create-label)\n  - [`delete-comment`](#delete-comment)\n  - [`get-issue`](#get-issue)\n  - [`lock-issue`](#lock-issue)\n  - [`open-issue`](#open-issue)\n  - [`remove-assignees`](#remove-assignees)\n  - [`remove-labels`](#remove-labels)\n  - [`set-labels`](#set-labels)\n  - [`unlock-issue`](#unlock-issue)\n  - [`update-comment`](#update-comment)\n  - [`update-issue`](#update-issue)\n- 🌟 Advanced\n  - [`check-inactive`](#check-inactive)\n  - [`check-issue`](#check-issue)\n  - [`close-issues`](#close-issues)\n  - [`find-comments`](#find-comments)\n  - [`find-issues`](#find-issues)\n  - [`lock-issues`](#lock-issues)\n  - [`mark-assignees`](#mark-assignees)\n  - [`mark-duplicate`](#mark-duplicate)\n  - [`toggle-labels`](#toggle-labels)\n  - [`welcome`](#welcome)\n\n## 🚀 Usage\n\n### ⭐ Base\n\u003cwrapper base data-depth=\"2\" data-warn=\"DO_NOT_REMOVE_THIS_COMMENT\"\u003e\n\nIn order to better display the function, the following is an example of the actual scene, please refer to it flexibly.\n\n#### `add-assignees`\n\nWhen an issue is added or modified, assign this issue to one or more people.\n\n```yml\nname: Add Assigness\n\non:\n  issues:\n    types: [opened, edited]\n\njobs:\n  add-assigness:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Add assigness\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'add-assignees'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n          assignees: 'xxx' or 'xx1,xx2'\n          random-to: 1\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| assignees | Designated person. No operation when no input or empty character | string | ✖ |\n| random-to | When set, it will be randomly selected in assignees | number | ✖ |\n\n- `actions` support multiple and separated by comma. Like: `add-assignees,add-labels`\n- The `name` can be modified according to the actual situation\n- [Reference to on](#github-docs)\n- `${{ github.event.issue.number }}` is the current issue. [More references](https://docs.github.com/en/free-pro-team@latest/developers/webhooks-and-events)\n- `assignees` support multiple and separated by comma\n- You can assign up to 10 people to each issue\n\n[⏫ Back to list](#List)\n\n#### `add-labels`\n\nWhen the content of a new issue does not contain the specified format, add labels for the issue.\n\n```yml\nname: Add Labels\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  add-labels:\n    runs-on: ubuntu-latest\n    if: contains(github.event.issue.body, 'xxx') == false\n    steps:\n      - name: Add labels\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'add-labels'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n          labels: 'bug' or 'xx1,xx2'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| labels | New labels. When it is not filled in or is empty character, do not add | string | ✖ |\n\n- `labels` support multiple and separated by comma\n\n[⏫ Back to list](#List)\n\n#### `close-issue`\n\nClose the specified issue.\n\n```yml\n- name: Close issue\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'close-issue'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: xxx\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| close-reason | Reason for closing. Default `not_planned`, another `completed` | string | ✖ |\n\n[⏫ Back to list](#List)\n\n#### `create-comment`\n\nWhen a designated label is added, comment on the issue.\n\n```yml\nname: Create Comment\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  create-comment:\n    runs-on: ubuntu-latest\n    if: github.event.label.name == 'xxx'\n    steps:\n      - name: Create comment\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'create-comment'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n          body: |\n            Hello @${{ github.event.issue.user.login }}. Add some comments.\n\n            你好 @${{ github.event.issue.user.login }}。巴拉巴拉。\n          emoji: '+1' or '+1,heart'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| body | Add comment content | string | ✔ |\n| emoji | Add [emoji](#emoji-types) | string | ✖ |\n\n- No action when `body` is empty\n- Return `comment-id`, which can be used for subsequent operations. [Usage reference](#outputs-use)\n- `${{ github.event.issue.user.login }}` indicates the creator of the issue\n- `emoji` support multiple and separated by comma\n\n[⏫ Back to list](#List)\n\n#### `create-issue`\n\nHere is an example, add an issue at UTC 00:00 on the 1st of every month.\n\n```yml\nname: Create Issue\n\non:\n  schedule:\n    - cron: \"0 0 1 * *\"\n\njobs:\n  create-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Create issue\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'create-issue'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          title: 'xxxx'\n          body: 'xxxx'\n          labels: 'xx'\n          assignees: 'xxx'\n          emoji: '+1'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| title | The title of the new issue | string | ✔ |\n| body | The body of the new issue | string | ✖ |\n| labels | The labels for the new issue | string | ✖ |\n| assignees | The assignees for the new issue | string | ✖ |\n| random-to | When set, it will be randomly selected in assignees | number | ✖ |\n| emoji | Add [emoji](#emoji-types) | string | ✖ |\n\n- No action when `title` is empty\n- Return `issue-number`. [Usage reference](#outputs-use)\n\n[⏫ Back to list](#List)\n\n#### `create-label`\n\nCreate label. If you want to maintain labels in batches, [see](https://github.com/actions-cool/labels-helper).\n\n```yml\n- name: Create label\n  uses: actions-cool/issues-helper@v3\n  with:\n    actions: 'create-label'\n    token: ${{ secrets.GITHUB_TOKEN }}\n    label-name: 'xx'\n    label-color: '0095b3'\n    label-desc: 'xx'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| label-name | Label name, emoji support | string | ✔ |\n| label-color | Label color, the format is hexadecimal color code, without `#` | string | ✖ |\n| label-desc | Label description | string | ✖ |\n\n- `label-name`: If it already exists, no operation\n- `label-color`: Default is `ededed`\n\n[⏫ Back to list](#List)\n\n#### `delete-comment`\n\nAccording to [`comment-id`](#comment-id) delete the specified comment.\n\n```yml\n- name: Delete comment\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'delete-comment'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      comment-id: xxx\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| comment-id | The comment ID | number | ✔ |\n\n[⏫ Back to list](#List)\n\n#### `get-issue`\n\nQuery issue information.\n\n```yml\n- name: Get Issue\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'get-issue'\n      token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n\n- Return `issue-number` `issue-title` `issue-body` `issue-labels` `issue-assignees` `issue-state`. [Usage reference](#outputs-use)\n\n[⏫ Back to list](#List)\n\n#### `lock-issue`\n\nWhen the `invalid` label is added, the issue is locked.\n\n```yml\nname: Lock Issue\n\non:\n  issues:\n    types: [labeled]\n\njobs:\n  lock-issue:\n    runs-on: ubuntu-latest\n    if: github.event.label.name == 'invalid'\n    steps:\n      - name: Lock issue\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'lock-issue'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| lock-reason | Reason for locking issue | string | ✖ |\n\n- `lock-reason`: Optional values are `off-topic` `too heated` `resolved` `spam`\n\n[⏫ Back to list](#List)\n\n#### `open-issue`\n\nOpen the specified issue.\n\n```yml\n- name: Open issue\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'open-issue'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: xxx\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n\n[⏫ Back to list](#List)\n\n#### `remove-assignees`\n\nRemove the person designated by issue.\n\n```yml\n- name: Remove assignees\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'remove-assignees'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: ${{ github.event.issue.number }}\n      assignees: 'xx'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| assignees | Designated person removed. When it is an empty character, do not remove | string | ✔ |\n\n[⏫ Back to list](#List)\n\n#### `remove-labels`\n\nRemove the specified labels.\n\n```yml\n- name: Remove labels\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'remove-labels'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: ${{ github.event.issue.number }}\n      labels: 'xx'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| labels | The removed labels. When it is a blank character, do not remove | string | ✔ |\n\n- `labels` supports multiple, such as `x1,x2,x3`, only the labels added by the issue will be removed\n\n[⏫ Back to list](#List)\n\n#### `set-labels`\n\nReplace the labels of issue.\n\n```yml\n- name: Set labels\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'set-labels'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: ${{ github.event.issue.number }}\n      labels: 'xx'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| labels | labels set. When empty characters, will remove all | string | ✔ |\n\n[⏫ Back to list](#List)\n\n#### `unlock-issue`\n\nUnlock the specified issue.\n\n```yml\n- name: Unlock issue\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'unlock-issue'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: ${{ github.event.issue.number }}\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n\n[⏫ Back to list](#List)\n\n#### `update-comment`\n\nUpdate the specified comment according to [`comment-id`](#comment-id).\n\nThe following example shows that 👀 is added for each new comment.\n\n```yml\nname: Add eyes to each comment\n\non:\n  issue_comment:\n    types: [created]\n\njobs:\n  update-comment:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Update comment\n          uses: actions-cool/issues-helper@v3\n          with:\n            actions: 'update-comment'\n            token: ${{ secrets.GITHUB_TOKEN }}\n            comment-id: ${{ github.event.comment.id }}\n            emoji: 'eyes'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| comment-id | The comment ID | number | ✔ |\n| out-comments | The output of `find-comments`, if you find multiple, operate multiple | string | ✖ |\n| body | Update the content of comment | string | ✖ |\n| update-mode | Update mode. Default `replace`, another `append` | string | ✖ |\n| emoji | Add [reaction](#emoji-types) | string | ✖ |\n\n- When `body` is not entered, it will remain as it is\n- When `update-mode` is `append`, additional operations will be performed. Anything other than `append` will be replaced. Only effective for `body`\n\n[⏫ Back to list](#List)\n\n#### `update-issue`\n\nUpdate the specified issue according to the `issue-number`.\n\n```yml\n- name: Update issue\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'update-issue'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: ${{ github.event.issue.number }}\n      state: 'open'\n      title: 'xxx'\n      body: 'xxxx'\n      update-mode: 'replace'\n      labels: 'xx'\n      assignees: 'xxx'\n      emoji: '+1'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| state | Modify the status of issue, optional value `open` `closed` | string | ✖ |\n| title | Modify the title of the issue | string | ✖ |\n| body | Modify the content of issue | string | ✖ |\n| update-mode |  Update mode. Default `replace`, another `append` | string | ✖ |\n| labels | Replace the labels of issue | string | ✖ |\n| assignees | Replace the assignees of issue | string | ✖ |\n| emoji | Add [reaction](#emoji-types) | string | ✖ |\n\n- `state` defaults to `open`\n- When the option is not filled, it will keep the original\n\n[⏫ Back to list](#List)\n\u003c/wrapper\u003e\n\n### 🌟 Advanced\n\u003cwrapper advanced data-depth=\"2\" data-warn=\"DO_NOT_REMOVE_THIS_COMMENT\"\u003e\n\nAdvanced usage is not recommended to use multiple actions at the same time.\n\n#### `check-inactive`\n\nAt UTC 0 on the 1st of each month, add the `inactive` tag to all issues that have not been active for more than 30 days.\n\n```yml\nname: Check inactive\n\non:\n  schedule:\n    - cron: \"0 0 1 * *\"\n\njobs:\n  check-inactive:\n    runs-on: ubuntu-latest\n    steps:\n      - name: check-inactive\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'check-inactive'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          inactive-day: 30\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |\n| emoji | Add [reaction](#emoji-types) for this comment | string | ✖ |\n| labels | Labels filtering | string | ✖ |\n| issue-state | State filtering | string | ✖ |\n| issue-assignee | Assignee filtering | string | ✖ |\n| issue-creator | Creator filtering | string | ✖ |\n| issue-mentioned | Mentioned filtering | string | ✖ |\n| body-includes | Body filtering, supports filtering of multiple strings | string | ✖ |\n| title-includes | Title filtering, supports filtering of multiple strings | string | ✖ |\n| inactive-day | Inactive days filtering | number | ✖ |\n| inactive-mode | Detect inactive mode, default `issue` | string | ✖ |\n| inactive-label | The label name adding | string | ✖ |\n| exclude-labels | Exclude labels filtering | string | ✖ |\n| exclude-issue-numbers | Exclude the specified issues | string | ✖ | \n\n- `labels`: When there are multiple, the query will have multiple at the same time. If not entered, all\n- `issue-state`: The default is `all`. Optional value `open` `closed`, when these 2 items are not, both are `all`\n- `issue-assignee`: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Entering `none` will query issues for which the specified person is not added\n- `inactive-day`: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, all\n- `inactive-label`: The default is `inactive`, others can be customized. When the project does not contain the label, it will be created automatically\n- `exclude-labels`: When set to include `$exclude-empty`, no label issue can be excluded\n- `inactive-mode`:\n  - Default `issue`: the issue updated time\n  - Optional `comment`: the last comment update time\n  - Optional `issue-created`: the issue created time\n  - Optional `comment-created`: the comment creation time\n  - You can also set multiple such as: `comment, issue-created`\n    - It will be detected with priority, the update time of the last comment will be detected first, if there is no comment, the creation time of the issue will be used\n\n[⏫ Back to list](#List)\n\n#### `check-issue`\n\nCheck whether the issue meets the conditions according to the passed parameters and `issue-number`, and return a boolean value.\n\nThe effect of the following example is: when an issue is newly opened, verify whether the current issue designator contains `x1` or `x2`.\n\nIf one designated person is satisfied, the verification will pass, and at the same time, verify whether the title meets the conditions. [Check rules](#check-rules)\n\n```yml\nname: Check Issue\n\non:\n  issues:\n    types: [edited]\n\njobs:\n  check-issue:\n    runs-on: ubuntu-latest\n    steps:\n      - name: check-issue\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'check-issue'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n          assignee-includes: 'x1,x2'\n          title-includes: 'x1,x2/y1,y2'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| assignee-includes | Assignees contains check | string | ✖ |\n| title-includes | Title contains check | string | ✖ |\n| title-excludes | Check whether the title is empty after removing the default title | string | ✖ |\n| body-includes | Body contains check | string | ✖ |\n\n- `title-includes` `body-includes` supports the format `x1,x2` or `x1,x2/y1,y2`. Only supports two levels\n- Return `check-result`, due to yml reasons, the judgment condition is `if: steps.xxid.outputs.check-result =='true'`\n\n[⏫ Back to list](#List)\n\n#### `close-issues`\n\nEvery 7 days at UTC 0, close the issues that have been filled with the `need info` label and have not been active for more than 7 days.\n\n```yml\nname: Check need info\n\non:\n  schedule:\n    - cron: \"0 0 */7 * *\"\n\njobs:\n  check-need-info:\n    runs-on: ubuntu-latest\n    steps:\n      - name: close-issues\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'close-issues'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          labels: 'need info'\n          inactive-day: 7\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |\n| emoji | Add [reaction](#emoji-types) for this comment | string | ✖ |\n| labels | Labels filtering | string | ✖ |\n| issue-assignee | Assignee filtering | string | ✖ |\n| issue-creator | Creator filtering | string | ✖ |\n| issue-mentioned | Mentioned filtering | string | ✖ |\n| body-includes | Body filtering, supports filtering of multiple strings | string | ✖ |\n| title-includes | Title filtering, supports filtering of multiple strings | string | ✖ |\n| inactive-day | Inactive days filtering | number | ✖ |\n| exclude-labels | Exclude labels filtering | string | ✖ |\n| close-reason | Reason for closing. Default `not_planned`, another `completed` | string | ✖ |\n\n- `labels`: When there are multiple, the query will have multiple at the same time. If not entered, all\n- `issue-assignee`: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Entering `none` will query issues for which the specified person is not added\n- `inactive-day`: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, all\n- `exclude-labels`: When set to include `$exclude-empty`, no label issue can be excluded\n\n[⏫ Back to list](#List)\n\n#### `find-comments`\n\nFind the current warehouse issue No. 1, the creator is k and the content contains the comment list of `this`.\n\n```yml\n- name: Find comments\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'find-comments'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-number: 1\n      comment-auth: 'k'\n      body-includes: 'this,that'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| comment-auth | Comment creator, all will be queried if not filled | string | ✖ |\n| body-includes | Comment content includes filtering, supports filtering of multiple strings, no verification if not filled | string | ✖ |\n| direction | Return `comments` sort | string | ✖ |\n\n- Return `comments` in the following format:\n\n```js\n[\n  {id: 1, auth: 'x', body: 'xxx', created: '', updated: ''},\n  {id: 2, auth: 'x', body: 'xxx', created: '', updated: ''},\n]\n```\n\n- `direction` defaults to ascending order, only when `desc` is set, descending order will be returned\n- The `created` `updated` in the returned array, determined by the environment, will be UTC +0\n\n[⏫ Back to list](#List)\n\n#### `find-issues`\n\nFind the current repository, the creator is k , the title contains `this` , the body contains `that`, and the list of issues in the open state.\n\n```yml\n- name: Find issues\n    uses: actions-cool/issues-helper@v3\n    with:\n      actions: 'find-issues'\n      token: ${{ secrets.GITHUB_TOKEN }}\n      issue-creator: 'k'\n      issue-state: 'open'\n      title-includes: 'this,that'\n      body-includes: 'that,this'\n      labels: 'documentation'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-state | State filtering | string | ✖ |\n| issue-creator | Creator filtering | string | ✖ |\n| title-includes | Title filtering, supports filtering of multiple strings | string | ✖ |\n| body-includes | Body filtering, supports filtering of multiple strings | string | ✖ |\n| labels | Labels filtering | string | ✖ |\n| exclude-labels | Exclude labels filtering | string | ✖ |\n| inactive-day | Inactive days filtering | number | ✖ |\n| direction | Return sort | string | ✖ |\n| create-issue-if-not-exist | Create a new issue if not exist | boolean | ✖ |\n\n- Returns `issues` in the following format:\n\n```js\n[\n  {number: 1, auth: 'x', body: 'xxx', body: 'xxx', state: 'open', assignees: ['x1', 'x2'], created: '', updated: ''},\n  {number: 2, auth: 'x', body: 'xxx', body: 'xxx', state: 'closed', assignees: ['x1', 'x2'], created: '', updated: ''},\n]\n```\n\n- `issue-state`: The default is `open`. Other values are: `closed`, `all`\n- `direction` defaults to ascending order, only when `desc` is set, descending order will be returned\n- The `created` `updated` in the returned array, determined by the environment, will be UTC +0\n- `exclude-labels`: When set to include `$exclude-empty`, no label issue can be excluded\n\n[⏫ Back to list](#List)\n\n#### `lock-issues`\n\nEvery 3 months at UTC 0 on the 1st, lock all issues that have been filled with the `inactive` label and have not been active for more than 128 days.\n\n```yml\nname: Lock inactive issues\n\non:\n  schedule:\n    - cron: \"0 0 1 */3 *\"\n\njobs:\n  lock-issues:\n    runs-on: ubuntu-latest\n    steps:\n      - name: lock-issues\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'lock-issues'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          labels: 'inactive'\n          inactive-day: 128\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| body | When operating an issue, you can comment. Do not comment when not typing | string | ✖ |\n| emoji | Add [reaction](#emoji-types) for this comment | string | ✖ |\n| labels | Labels filtering | string | ✖ |\n| issue-state | State filtering | string | ✖ |\n| issue-assignee | Assignee filtering | string | ✖ |\n| issue-creator | Creator filtering | string | ✖ |\n| issue-mentioned | Mentioned filtering | string | ✖ |\n| body-includes | Body filtering, supports filtering of multiple strings | string | ✖ |\n| title-includes | Title filtering, supports filtering of multiple strings | string | ✖ |\n| inactive-day | Inactive days filtering | number | ✖ |\n| lock-reason | Reason for locking issue | string | ✖ |\n| exclude-labels | Exclude labels filtering | string | ✖ |\n\n- `labels`: When there are multiple, the query will have multiple at the same time. If not entered, all\n- `issue-state`: The default is `all`. Optional value `open` `closed`, when these 2 items are not, both are `all`\n- `issue-assignee`: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Entering `none` will query issues for which the specified person is not added\n- `inactive-day`: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, all\n- `exclude-labels`: When set to include `$exclude-empty`, no label issue can be excluded\n\n[⏫ Back to list](#List)\n\n#### `mark-assignees`\n\nQuickly assign person, only for the issue to add editor comments.\n\n```yml\nname: Issue Mark Assignees\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  mark-assignees:\n    runs-on: ubuntu-latest\n    steps:\n      - name: mark-assignees\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'mark-assignees'\n          token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| assign-command | Simple commands can be set, such as: `/a` | string | ✖ |\n| require-permission | Permission required, default is `write` | string | ✖ |\n\n- `assign-command`: default `/assign`\n- `require-permission`: Optional values are `admin`, `write`, `read`, `none`\n  - If the team member sets the `read` permission, it is `read`\n  - If the external Collaborator is set to `read` permission, it is `read`\n  - Ordinary users have `read` permission\n  - When set `write`, `admin` and `write` meet the conditions\n\n[⏫ Back to list](#List)\n\n#### `mark-duplicate`\n\nQuickly mark duplicate questions, only for issue new comments or edit comments.\n\n```yml\nname: Issue Mark Duplicate\n\non:\n  issue_comment:\n    types: [created, edited]\n\njobs:\n  mark-duplicate:\n    runs-on: ubuntu-latest\n    steps:\n      - name: mark-duplicate\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'mark-duplicate'\n          token: ${{ secrets.GITHUB_TOKEN }}\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| duplicate-command | Simple commands can be set, such as: `/d` | string | ✖ |\n| duplicate-labels | Add additional labels to this issue | string | ✖ |\n| remove-labels | Set removable labels | string | ✖ |\n| labels | Replace the labels of the issue | string | ✖ |\n| emoji | Add [reaction](#emoji-types) for this comment | string | ✖ |\n| close-issue | Whether to close the issue at the same time | string | ✖ |\n| require-permission | Permission required, default is `write` | string | ✖ |\n| close-reason | Reason for closing. Default `not_planned`, another `completed` | string | ✖ |\n\n- `duplicate-command`: When setting concise commands, while still supporting the original `Duplicate of`. Block content contains `?`\n- `labels`: Highest priority\n- `close-issue`: Both `true` or `'true'` can take effect\n- `require-permission`: Optional values are `admin`, `write`, `read`, `none`\n  - If the team member sets the `read` permission, it is `read`\n  - If the external Collaborator is set to `read` permission, it is `read`\n  - Ordinary users have `read` permission\n  - When set `write`, `admin` and `write` meet the conditions\n\n[⏫ Back to list](#List)\n\n#### `toggle-labels`\n\nWhen an issue is reopened, the set labels are removed if they already exist, otherwise they are added.\n\n```yml\nname: Toggle Labels\n\non:\n  issues:\n    types: [reopened]\n\njobs:\n  toggle-labels:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Toggle labels\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'toggle-labels'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          issue-number: ${{ github.event.issue.number }}\n          labels: 'unread,outdated'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| issue-number | The number of issue. When not input, it will be obtained from the trigger event | number | ✖ |\n| labels | The toggle labels. Delete if the label already exists, add if it does not exist | string | ✖ |\n\n[⏫ Back to list](#List)\n\n#### `welcome`\n\nWhen an issue is created, the user who created the issue for the first time is welcome.\n\nIf the user is not creating for the first time, there is no operation.\n\n```yml\nname: Issue Welcome\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  issue-welcome:\n    runs-on: ubuntu-latest\n    steps:\n      - name: welcome\n        uses: actions-cool/issues-helper@v3\n        with:\n          actions: 'welcome'\n          token: ${{ secrets.GITHUB_TOKEN }}\n          body: hi @${{ github.event.issue.user.login }}, welcome!\n          labels: 'welcome1, welcome2'\n          assignees: 'xx1'\n          issue-emoji: '+1, -1, eyes'\n```\n\n| Param | Desc | Type | Required |\n| -- | -- | -- | -- |\n| actions | Action type | string | ✔ |\n| token | [Token explain](#token) | string | ✖ |\n| body | Comment on the welcome content, no comment if you leave it blank | string | ✖ |\n| labels | Add labels to this issue | string | ✖ |\n| assignees | Add assignees to this issue | string | ✖ |\n| issue-emoji | Add [reaction](#emoji-types) to this issue| string | ✖ |\n\n- If these 4 options are not filled, no operation\n\n[⏫ Back to list](#List)\n\u003c/wrapper\u003e\n\n## 🎁 Reference\n\u003cwrapper reference data-depth=\"1\" data-warn=\"DO_NOT_REMOVE_THIS_COMMENT\"\u003e\n\n### token\n\nNeed to have the person token with push permission.\n\n- [Personal token application](https://github.com/settings/tokens)\n  - Need to check `Full control of private repositories`\n- Project add secrets\n  - Select settings, select secrets, select `New repository secret`\n  - `Name` is the same as in actions\n  - `Value` fill in the token just applied by the individual\n\nWhen the token is not filled in actions or input `${{ secrets.GITHUB_TOKEN }}`, it will default to `github-actions-bot`. [More](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow).\n\n[⏫ Back to list](#List)\n\n### GitHub Docs\n\n- [Workflow syntax for GitHub Actions](https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#on)\n- [Events that trigger workflows](https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows)\n\n[⏫ Back to list](#List)\n\n### `outputs` use\n\n```yml\n- name: Create issue\n  uses: actions-cool/issues-helper@v3\n  id: createissue\n  with:\n    actions: 'create-issue'\n    token: ${{ secrets.GITHUB_TOKEN }}\n- name: Check outputs\n  run: echo \"Outputs issue_number is ${{ steps.createissue.outputs.issue-number }}\"\n```\n\nMore:\n\n1. https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/metadata-syntax-for-github-actions#outputs\n2. https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idoutputs\n\n[⏫ Back to list](#List)\n\n### Check rules\n\n```js\n\"title-includes\": 'x1,x2'\n\nx1\nx2\n\n\"x1y3y2\"  true\n\"y2 x1\"   true\n\"x2\"      true\n\"x3\"      false\n```\n\n```js\n\"title-includes\": 'x1,x2/y1,y2'\n\nx1 + y1\nx2 + y1\nx1 + y2\nx2 + y2\n\n\"x1y3y2\"  true\n\"y2 x1\"   true\n\"1x2y\"    false\n\"x1\"      false\n```\n\n[⏫ Back to list](#List)\n### Emoji types\n\n| content | emoji |\n| -- | -- |\n| `+1` | 👍 |\n| `-1` | 👎 |\n| `laugh` | 😄 |\n| `confused` | 😕 |\n| `heart` | ❤️ |\n| `hooray` | 🎉 |\n| `rocket` | 🚀 |\n| `eyes` | 👀 |\n\n[⏫ Back to list](#List)\n\n### `comment-id`\n\nClick the `···` icon in the upper right corner of a comment, select `Copy link`, and the number at the end of the url is `comment_id`.\n\n[⏫ Back to list](#List)\n\u003c/wrapper\u003e\n\n## Actions Template\n\n- You can directly use this [GitHub Actions workflow template](https://github.com/actions-cool/.github) repositorie template\n- Personal exercises and tests [Actions](https://github.com/actions-cool/test-issues-helper) repository\n- Can also refer to the warehouse of [online users](#who-is-using)\n\n## LICENSE\n\n[MIT](https://github.com/actions-cool/issues-helper/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fissues-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factions-cool%2Fissues-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factions-cool%2Fissues-helper/lists"}