mirror of
https://gitea.com/Lydanne/issues-helper.git
synced 2025-10-15 08:13:48 +08:00
deploy: 0acc9bec8c
This commit is contained in:
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
@@ -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">"title-includes"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string">'x1,x2/y1,y2'</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">"x1y3y2"</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">"y2 x1"</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">"1x2y"</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">"x1"</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>
|
||||
|
@@ -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 == 'help wanted'</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">'create-comment'</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>
|
||||
|
Reference in New Issue
Block a user