This commit is contained in:
xrkffgg
2021-02-23 09:44:06 +00:00
parent 18c4648e64
commit 8be3fa59f8
24 changed files with 63 additions and 59 deletions

View File

@@ -16,7 +16,7 @@
window.routerBase = "/issues-helper/";
</script>
<script>
//! umi version: 3.3.7
//! umi version: 3.3.8
</script>
<title>🌟 Advanced</title>
</head>
@@ -38,12 +38,12 @@
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>body</td><td>When operating an issue, you can comment. Do not comment when not typing</td><td>string</td><td></td></tr><tr><td>contents</td><td>Add <a href="/issues-helper//en-US/guide/ref#-reactions-type">reaction</a> for this comment</td><td>string</td><td></td></tr><tr><td>labels</td><td>Labels filtering</td><td>string</td><td></td></tr><tr><td>issue-state</td><td>State filtering</td><td>string</td><td></td></tr><tr><td>issue-assignee</td><td>Assignee filtering</td><td>string</td><td></td></tr><tr><td>issue-creator</td><td>Creator filtering</td><td>string</td><td></td></tr><tr><td>issue-mentioned</td><td>Mentioned filtering</td><td>string</td><td></td></tr><tr><td>body-includes</td><td>Body filtering</td><td>string</td><td></td></tr><tr><td>title-includes</td><td>Title filtering</td><td>string</td><td></td></tr><tr><td>inactive-day</td><td>Inactive days filtering</td><td>number</td><td></td></tr><tr><td>lock-reason</td><td>Reason for locking issue</td><td>string</td><td></td></tr></tbody></table><ul><li><code>labels</code>: When there are multiple, the query will have multiple at the same time. If not entered, all</li><li><code>issue-state</code>: The default is <code>all</code>. Optional value <code>open</code> <code>closed</code>, when these 2 items are not, both are <code>all</code></li><li><code>issue-assignee</code>: Multiplayer is not supported. If you do not enter or enter *, all will be searched. Entering <code>none</code> will query issues for which the specified person is not added</li><li><code>inactive-day</code>: When entering, it will filter the issue update time earlier than the current time minus the number of inactive days. If not entered, all</li></ul><h2 id="month-statistics"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/advanced#month-statistics"><span class="icon,icon-link"></span></a><code>month-statistics</code></h2><p>At 1 o&#x27;clock on the 1st of each month, an issue is generated for the statistics of the previous month.</p><div class="__dumi-default-code-block"><pre class="prism-code language-unknown"><button class="__dumi-default-icon __dumi-default-code-block-copy-btn" data-status="ready"></button><div class="token-line"><span class="token plain">name: Issue Month Statistics</span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain">on:</span></div><div class="token-line"><span class="token plain"> schedule:</span></div><div class="token-line"><span class="token plain"> - cron: &quot;0 1 1 * *&quot;</span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain">jobs:</span></div><div class="token-line"><span class="token plain"> month-statistics:</span></div><div class="token-line"><span class="token plain"> runs-on: ubuntu-latest</span></div><div class="token-line"><span class="token plain"> steps:</span></div><div class="token-line"><span class="token plain"> - name: month-statistics</span></div><div class="token-line"><span class="token plain"> uses: actions-cool/issues-helper@v2.1.2</span></div><div class="token-line"><span class="token plain"> with:</span></div><div class="token-line"><span class="token plain"> actions: &#x27;month-statistics&#x27;</span></div><div class="token-line"><span class="token plain"> token: ${{ secrets.GITHUB_TOKEN }}</span></div><div class="token-line"><span class="token plain"> count-lables: &#x27;true&#x27;</span></div><div class="token-line"><span class="token plain">
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>labels</td><td>The labels for the new issue</td><td>string</td><td></td></tr><tr><td>assignees</td><td>The assignees for the new issue</td><td>string</td><td></td></tr><tr><td>count-lables</td><td>Whether the new issue count labels</td><td>string</td><td></td></tr><tr><td>count-comments</td><td>Whether the new issue count comments</td><td>string</td><td></td></tr></tbody></table><ul><li>The new issue title defaults to <code>[Current repo] Month Statistics: Year-Month</code></li><li><code>count-lables</code>: You can set <code>&#x27;true&#x27;</code> to add labels statistics</li><li><code>count-comments</code>: You can set <code>&#x27;true&#x27;</code> to add comments statistics</li></ul><p>As follows:</p><p><img src="/issues-helper/static/month.a512c8ae.png" alt=""/></p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/advanced.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/21/2021 08:10:57</span></div></div></div></div>
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>labels</td><td>The labels for the new issue</td><td>string</td><td></td></tr><tr><td>assignees</td><td>The assignees for the new issue</td><td>string</td><td></td></tr><tr><td>count-lables</td><td>Whether the new issue count labels</td><td>string</td><td></td></tr><tr><td>count-comments</td><td>Whether the new issue count comments</td><td>string</td><td></td></tr></tbody></table><ul><li>The new issue title defaults to <code>[Current repo] Month Statistics: Year-Month</code></li><li><code>count-lables</code>: You can set <code>&#x27;true&#x27;</code> to add labels statistics</li><li><code>count-comments</code>: You can set <code>&#x27;true&#x27;</code> to add comments statistics</li></ul><p>As follows:</p><p><img src="/issues-helper/static/month.a512c8ae.png" alt=""/></p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/advanced.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/23/2021 09:20:33</span></div></div></div></div>
<script>
window.g_useSSR = true;
window.g_initialProps = {};
</script>
<script src="/issues-helper/umi.db3dc7ff.js"></script>
<script src="/issues-helper/umi.2ddecaaa.js"></script>
</body>
</html>

View File

@@ -16,7 +16,7 @@
window.routerBase = "/issues-helper/";
</script>
<script>
//! umi version: 3.3.7
//! umi version: 3.3.8
</script>
<title>⭐ Base</title>
</head>
@@ -55,12 +55,12 @@
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>issue-number</td><td>The number of issue</td><td>number</td><td></td></tr><tr><td>state</td><td>Modify the status of issue, optional value <code>open</code> <code>closed</code></td><td>string</td><td></td></tr><tr><td>title</td><td>Modify the title of the issue</td><td>string</td><td></td></tr><tr><td>body</td><td>Modify the content of issue</td><td>string</td><td></td></tr><tr><td>update-mode</td><td>Update mode. Default <code>replace</code>, another <code>append</code></td><td>string</td><td></td></tr><tr><td>labels</td><td>Replace the labels of issue</td><td>string</td><td></td></tr><tr><td>assignees</td><td>Replace the assignees of issue</td><td>string</td><td></td></tr><tr><td>contents</td><td>Add <a href="/issues-helper//en-US/guide/ref#-reactions-type">reaction</a></td><td>string</td><td></td></tr></tbody></table><ul><li><code>state</code> defaults to <code>open</code></li><li>When the option is not filled, it will keep the original</li></ul><h2 id="welcome"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/base#welcome"><span class="icon,icon-link"></span></a><code>welcome</code></h2><p>When an issue is created, the user who created the issue for the first time is welcome.</p><p>If the user is not creating for the first time, there is no operation.</p><div class="__dumi-default-code-block"><pre class="prism-code language-yml"><button class="__dumi-default-icon __dumi-default-code-block-copy-btn" data-status="ready"></button><div class="token-line"><span class="token key atrule">name</span><span class="token punctuation">:</span><span class="token plain"> Issue Welcome</span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain"></span><span class="token key atrule">on</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">issues</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">types</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token punctuation">[</span><span class="token plain">opened</span><span class="token punctuation">]</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain"></span><span class="token key atrule">jobs</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">issue-welcome</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">runs-on</span><span class="token punctuation">:</span><span class="token plain"> ubuntu</span><span class="token punctuation">-</span><span class="token plain">latest</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">steps</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token punctuation">-</span><span class="token plain"> </span><span class="token key atrule">name</span><span class="token punctuation">:</span><span class="token plain"> welcome</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">uses</span><span class="token punctuation">:</span><span class="token plain"> actions</span><span class="token punctuation">-</span><span class="token plain">cool/issues</span><span class="token punctuation">-</span><span class="token plain">helper@v2.1.2</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">with</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">actions</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token string">&#x27;welcome&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">token</span><span class="token punctuation">:</span><span class="token plain"> $</span><span class="token punctuation">{</span><span class="token punctuation">{</span><span class="token plain"> secrets.GITHUB_TOKEN </span><span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">body</span><span class="token punctuation">:</span><span class="token plain"> hi @$</span><span class="token punctuation">{</span><span class="token punctuation">{</span><span class="token plain"> github.event.issue.user.login </span><span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token punctuation">,</span><span class="token plain"> welcome</span><span class="token tag">!</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">labels</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token string">&#x27;welcome1, welcome2&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">assignees</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token string">&#x27;xx1&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">issue-contents</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token string">&#x27;+1, -1, eyes&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>body</td><td>Comment on the welcome content, no comment if you leave it blank</td><td>string</td><td></td></tr><tr><td>labels</td><td>Add labels to this issue</td><td>string</td><td></td></tr><tr><td>assignees</td><td>Add assignees to this issue</td><td>string</td><td></td></tr><tr><td>issue-contents</td><td>Add <a href="/issues-helper//en-US/guide/ref#-reactions-type">reaction</a> to this issue</td><td>string</td><td></td></tr></tbody></table><ul><li>If these 4 options are not filled, no operation</li></ul></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/base.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/21/2021 08:10:57</span></div></div></div></div>
</span></div></pre></div><table><thead><tr><th>Param</th><th>Desc</th><th>Type</th><th>Required</th></tr></thead><tbody><tr><td>actions</td><td>Action type</td><td>string</td><td></td></tr><tr><td>token</td><td><a href="/issues-helper//en-US/guide/ref#-token">Token explain</a></td><td>string</td><td></td></tr><tr><td>body</td><td>Comment on the welcome content, no comment if you leave it blank</td><td>string</td><td></td></tr><tr><td>labels</td><td>Add labels to this issue</td><td>string</td><td></td></tr><tr><td>assignees</td><td>Add assignees to this issue</td><td>string</td><td></td></tr><tr><td>issue-contents</td><td>Add <a href="/issues-helper//en-US/guide/ref#-reactions-type">reaction</a> to this issue</td><td>string</td><td></td></tr></tbody></table><ul><li>If these 4 options are not filled, no operation</li></ul></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/base.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/23/2021 09:20:33</span></div></div></div></div>
<script>
window.g_useSSR = true;
window.g_initialProps = {};
</script>
<script src="/issues-helper/umi.db3dc7ff.js"></script>
<script src="/issues-helper/umi.2ddecaaa.js"></script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
window.routerBase = "/issues-helper/";
</script>
<script>
//! umi version: 3.3.7
//! umi version: 3.3.8
</script>
<title>📍 token</title>
</head>
@@ -28,12 +28,12 @@
</span></div></pre></div><div class="__dumi-default-code-block"><pre class="prism-code language-js"><button class="__dumi-default-icon __dumi-default-code-block-copy-btn" data-status="ready"></button><div class="token-line"><span class="token string">&quot;title-includes&quot;</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string">&#x27;x1,x2/y1,y2&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain">x1 </span><span class="token operator">+</span><span class="token plain"> y1</span></div><div class="token-line"><span class="token plain">x2 </span><span class="token operator">+</span><span class="token plain"> y1</span></div><div class="token-line"><span class="token plain">x1 </span><span class="token operator">+</span><span class="token plain"> y2</span></div><div class="token-line"><span class="token plain">x2 </span><span class="token operator">+</span><span class="token plain"> y2</span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain"></span><span class="token string">&quot;x1y3y2&quot;</span><span class="token plain"> </span><span class="token boolean">true</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"></span><span class="token string">&quot;y2 x1&quot;</span><span class="token plain"> </span><span class="token boolean">true</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"></span><span class="token string">&quot;1x2y&quot;</span><span class="token plain"> </span><span class="token boolean">false</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"></span><span class="token string">&quot;x1&quot;</span><span class="token plain"> </span><span class="token boolean">false</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div></pre></div><h2 id="-reactions-type"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/ref#-reactions-type"><span class="icon,icon-link"></span></a>📍 <code>Reactions</code> Type</h2><table><thead><tr><th>content</th><th>emoji</th></tr></thead><tbody><tr><td><code>+1</code></td><td>👍</td></tr><tr><td><code>-1</code></td><td>👎</td></tr><tr><td><code>laugh</code></td><td>😄</td></tr><tr><td><code>confused</code></td><td>😕</td></tr><tr><td><code>heart</code></td><td>❤️</td></tr><tr><td><code>hooray</code></td><td>🎉</td></tr><tr><td><code>rocket</code></td><td>🚀</td></tr><tr><td><code>eyes</code></td><td>👀</td></tr></tbody></table><p>For details, please <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/rest/reference/reactions">view<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>.</p><h2 id="-comment-id"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/ref#-comment-id"><span class="icon,icon-link"></span></a>📍 <code>comment-id</code></h2><p>Click the <code>···</code> icon in the upper right corner of a comment, select <code>Copy link</code>, and the number at the end of the url is <code>comment_id</code>.</p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/guide/ref.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/21/2021 08:10:57</span></div></div></div></div>
</span></div></pre></div><h2 id="-reactions-type"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/ref#-reactions-type"><span class="icon,icon-link"></span></a>📍 <code>Reactions</code> Type</h2><table><thead><tr><th>content</th><th>emoji</th></tr></thead><tbody><tr><td><code>+1</code></td><td>👍</td></tr><tr><td><code>-1</code></td><td>👎</td></tr><tr><td><code>laugh</code></td><td>😄</td></tr><tr><td><code>confused</code></td><td>😕</td></tr><tr><td><code>heart</code></td><td>❤️</td></tr><tr><td><code>hooray</code></td><td>🎉</td></tr><tr><td><code>rocket</code></td><td>🚀</td></tr><tr><td><code>eyes</code></td><td>👀</td></tr></tbody></table><p>For details, please <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/rest/reference/reactions">view<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a>.</p><h2 id="-comment-id"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/ref#-comment-id"><span class="icon,icon-link"></span></a>📍 <code>comment-id</code></h2><p>Click the <code>···</code> icon in the upper right corner of a comment, select <code>Copy link</code>, and the number at the end of the url is <code>comment_id</code>.</p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/guide/ref.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/23/2021 09:20:33</span></div></div></div></div>
<script>
window.g_useSSR = true;
window.g_initialProps = {};
</script>
<script src="/issues-helper/umi.db3dc7ff.js"></script>
<script src="/issues-helper/umi.2ddecaaa.js"></script>
</body>
</html>

View File

@@ -16,7 +16,7 @@
window.routerBase = "/issues-helper/";
</script>
<script>
//! umi version: 3.3.7
//! umi version: 3.3.8
</script>
<title>Quick start</title>
</head>
@@ -25,12 +25,12 @@
</span></div><div class="token-line"><span class="token plain"></span><span class="token key atrule">on</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">issues</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">types</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token punctuation">[</span><span class="token plain">labeled</span><span class="token punctuation">]</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain"></span><span class="token key atrule">jobs</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">reply-helper</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">runs-on</span><span class="token punctuation">:</span><span class="token plain"> ubuntu</span><span class="token punctuation">-</span><span class="token plain">latest</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">steps</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token punctuation">-</span><span class="token plain"> </span><span class="token key atrule">name</span><span class="token punctuation">:</span><span class="token plain"> help wanted</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">if</span><span class="token punctuation">:</span><span class="token plain"> github.event.label.name == &#x27;help wanted&#x27;</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">uses</span><span class="token punctuation">:</span><span class="token plain"> actions</span><span class="token punctuation">-</span><span class="token plain">cool/issues</span><span class="token punctuation">-</span><span class="token plain">helper@v2.0.0</span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">with</span><span class="token punctuation">:</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">actions</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token string">&#x27;create-comment&#x27;</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">token</span><span class="token punctuation">:</span><span class="token plain"> $</span><span class="token punctuation">{</span><span class="token punctuation">{</span><span class="token plain"> secrets.GITHUB_TOKEN </span><span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">issue-number</span><span class="token punctuation">:</span><span class="token plain"> $</span><span class="token punctuation">{</span><span class="token punctuation">{</span><span class="token plain"> github.event.issue.number </span><span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token plain"></span></div><div class="token-line"><span class="token plain"> </span><span class="token key atrule">body</span><span class="token punctuation">:</span><span class="token plain"> </span><span class="token punctuation">|</span><span class="token scalar string"></span></div><div class="token-line"><span class="token scalar string"> Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome PR。</span><span class="token plain"></span></div><div class="token-line"><span class="token plain">
</span></div><div class="token-line"><span class="token plain"> 你好 @$</span><span class="token punctuation">{</span><span class="token punctuation">{</span><span class="token plain"> github.event.issue.user.login </span><span class="token punctuation">}</span><span class="token punctuation">}</span><span class="token plain">,我们完全同意你的提议/反馈欢迎PR。</span></div><div class="token-line"><span class="token plain">
</span></div></pre></div><ul><li><code>YML</code> syntax reference<ul><li><a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#on">Workflow syntax for GitHub Actions<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li><code>name</code>: The workflow name<ul><li>Actions workflow name, can be customized according to actual situation</li></ul></li><li><code>on</code>: The action trigger condition<ul><li>Reference <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows">Events that trigger workflows<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li><code>uses</code>: Use actions name<ul><li><code>uses: actions-cool/issues-helper@v2.0.0</code>。Please <a href="/issues-helper//en-US/changelog">refer</a> to version selection</li></ul></li><li><code>issues-hepler</code> parameter<ul><li><code>actions</code>: The name of the function used, <strong>required</strong>. Support multiple, separated by commas, such as <code>create-comment,close-issue</code> means comment and close issue</li><li><code>token</code>: A person who needs to have push permission token<ul><li><a href="/issues-helper//en-US/guide/ref#-token">More view</a></li></ul></li><li><code>issue-number</code>: Incoming parameter, here means the number of the current issue. If you are confused about the writing, you can <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context">view<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li><code>body</code>: Incoming parameters, here means the content of the current comment</li></ul></li></ul><h3 id="3-enable-action"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/start#3-enable-action"><span class="icon,icon-link"></span></a>3. Enable Action</h3><p>When you finish writing and submit to the master branch, you can automatically enable the workflow, and the trigger conditions follow the definition of <code>on</code>.</p><p>😏 I believe that you have a general understanding of <code>how to use</code>, do you want to try it quickly?</p><p>Please check the functions you need in <a href="/issues-helper//en-US/base">Basic</a> and <a href="/issues-helper//en-US/advanced">Advanced</a> for flexible reference.</p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/guide/start.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/21/2021 08:10:57</span></div></div></div></div>
</span></div></pre></div><ul><li><code>YML</code> syntax reference<ul><li><a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#on">Workflow syntax for GitHub Actions<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li><code>name</code>: The workflow name<ul><li>Actions workflow name, can be customized according to actual situation</li></ul></li><li><code>on</code>: The action trigger condition<ul><li>Reference <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows">Events that trigger workflows<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li></ul></li><li><code>uses</code>: Use actions name<ul><li><code>uses: actions-cool/issues-helper@v2.0.0</code>。Please <a href="/issues-helper//en-US/changelog">refer</a> to version selection</li></ul></li><li><code>issues-hepler</code> parameter<ul><li><code>actions</code>: The name of the function used, <strong>required</strong>. Support multiple, separated by commas, such as <code>create-comment,close-issue</code> means comment and close issue</li><li><code>token</code>: A person who needs to have push permission token<ul><li><a href="/issues-helper//en-US/guide/ref#-token">More view</a></li></ul></li><li><code>issue-number</code>: Incoming parameter, here means the number of the current issue. If you are confused about the writing, you can <a target="_blank" rel="noopener noreferrer" href="https://docs.github.com/en/free-pro-team@latest/actions/reference/context-and-expression-syntax-for-github-actions#github-context">view<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a></li><li><code>body</code>: Incoming parameters, here means the content of the current comment</li></ul></li></ul><h3 id="3-enable-action"><a aria-hidden="true" tabindex="-1" href="/issues-helper//en-US/guide/start#3-enable-action"><span class="icon,icon-link"></span></a>3. Enable Action</h3><p>When you finish writing and submit to the master branch, you can automatically enable the workflow, and the trigger conditions follow the definition of <code>on</code>.</p><p>😏 I believe that you have a general understanding of <code>how to use</code>, do you want to try it quickly?</p><p>Please check the functions you need in <a href="/issues-helper//en-US/base">Basic</a> and <a href="/issues-helper//en-US/advanced">Advanced</a> for flexible reference.</p></div><div class="__dumi-default-layout-footer-meta"><a target="_blank" rel="noopener noreferrer" href="https://github.com/actions-cool/issues-helper/edit/main/docs/guide/start.en-US.md">Edit this doc on GitHub<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" x="0px" y="0px" viewBox="0 0 100 100" width="15" height="15" class="__dumi-default-external-link-icon"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg></a><span data-updated-text="Last update: ">2/23/2021 09:20:33</span></div></div></div></div>
<script>
window.g_useSSR = true;
window.g_initialProps = {};
</script>
<script src="/issues-helper/umi.db3dc7ff.js"></script>
<script src="/issues-helper/umi.2ddecaaa.js"></script>
</body>
</html>

View File

@@ -16,7 +16,7 @@
window.routerBase = "/issues-helper/";
</script>
<script>
//! umi version: 3.3.7
//! umi version: 3.3.8
</script>
<title>Issues Helper</title>
</head>
@@ -31,6 +31,6 @@
window.g_initialProps = {};
</script>
<script src="/issues-helper/umi.db3dc7ff.js"></script>
<script src="/issues-helper/umi.2ddecaaa.js"></script>
</body>
</html>