Skip to content

Commit

Permalink
Merge branch 'DAK/majorReleaseTag2' of https://github.com/dkershner6/…
Browse files Browse the repository at this point in the history
…reaction-action into DAK/majorReleaseTag2
  • Loading branch information
dkershner6 committed Dec 31, 2023
2 parents cb0d5eb + 338a6bd commit 32ecd77
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .projenrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ const project = new Node20GitHubActionTypescriptProject({
},
},

deps: [
"@octokit/webhooks-types",
],
deps: ["@octokit/webhooks-types"],

autoApproveOptions: {
allowedUsernames: ["dkershner6"],
Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>reaction-action</title><meta name="description" content="Documentation for reaction-action"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base="."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="index.html" class="title">reaction-action</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><h2>reaction-action</h2></div><div class="tsd-panel tsd-typography"><a id="md:issue-or-pull-request-comment-reaction" class="tsd-anchor"></a><h1><a href="#md:issue-or-pull-request-comment-reaction">Issue or Pull Request Comment Reaction</a></h1><p>React to any comment with the GitHub Reaction types.</p>
<a id="md:usage" class="tsd-anchor"></a><h2><a href="#md:usage">Usage</a></h2><pre><code class="language-yaml"><span class="hl-0">- </span><span class="hl-1">name</span><span class="hl-0">: </span><span class="hl-2">React to comment</span><br/><span class="hl-0"> </span><span class="hl-1">uses</span><span class="hl-0">: </span><span class="hl-2">dkershner6/reaction-action@latest</span><span class="hl-0"> </span><span class="hl-3"># You can also use a specific version, e.g. v2.0.0</span><br/><span class="hl-0"> </span><span class="hl-1">with</span><span class="hl-0">:</span><br/><span class="hl-0"> </span><span class="hl-1">token</span><span class="hl-0">: </span><span class="hl-2">${{ secrets.GITHUB_TOKEN }}</span><br/><span class="hl-0"> </span><span class="hl-1">commentId</span><span class="hl-0">: </span><span class="hl-4">1234</span><span class="hl-0"> </span><span class="hl-3"># Optional if the trigger is a comment. Use another action to find this otherwise.</span><br/><span class="hl-0"> </span><span class="hl-1">reaction</span><span class="hl-0">: </span><span class="hl-5">&quot;hooray&quot;</span><span class="hl-0"> </span><span class="hl-3"># Optional, defaults to +1</span>
<a id="md:usage" class="tsd-anchor"></a><h2><a href="#md:usage">Usage</a></h2><pre><code class="language-yaml"><span class="hl-0">- </span><span class="hl-1">name</span><span class="hl-0">: </span><span class="hl-2">React to comment</span><br/><span class="hl-0"> </span><span class="hl-1">uses</span><span class="hl-0">: </span><span class="hl-2">dkershner6/reaction-action@v2</span><span class="hl-0"> </span><span class="hl-3"># You can also use a specific version, e.g. v2.0.0</span><br/><span class="hl-0"> </span><span class="hl-1">with</span><span class="hl-0">:</span><br/><span class="hl-0"> </span><span class="hl-1">token</span><span class="hl-0">: </span><span class="hl-2">${{ secrets.GITHUB_TOKEN }}</span><br/><span class="hl-0"> </span><span class="hl-1">commentId</span><span class="hl-0">: </span><span class="hl-4">1234</span><span class="hl-0"> </span><span class="hl-3"># Optional if the trigger is a comment. Use another action to find this otherwise.</span><br/><span class="hl-0"> </span><span class="hl-1">reaction</span><span class="hl-0">: </span><span class="hl-5">&quot;hooray&quot;</span><span class="hl-0"> </span><span class="hl-3"># Optional, defaults to +1</span>
</code><button>Copy</button></pre>
<a id="md:valid-reactions-if-this-is-incomplete-please-open-an-issue" class="tsd-anchor"></a><h2><a href="#md:valid-reactions-if-this-is-incomplete-please-open-an-issue">Valid reactions (if this is incomplete, please open an issue)</a></h2><pre><code class="language-typescript"><span class="hl-6">const</span><span class="hl-0"> </span><span class="hl-7">VALID_REACTIONS</span><span class="hl-0"> = [</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;+1&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;-1&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;laugh&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;confused&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;heart&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;hooray&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;rocket&#39;</span><span class="hl-0">,</span><br/><span class="hl-0"> </span><span class="hl-5">&#39;eyes&#39;</span><span class="hl-0">,</span><br/><span class="hl-0">];</span>
</code><button>Copy</button></pre>
Expand Down

0 comments on commit 32ecd77

Please sign in to comment.