<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Lucas Rangit MAGASWERAN</title>
    <description>The latest articles on DEV Community by Lucas Rangit MAGASWERAN (@lucasrangit).</description>
    <link>https://dev.to/lucasrangit</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F213918%2Fe3cd9c83-3a65-4ac1-9372-ddd6e51429ed.jpeg</url>
      <title>DEV Community: Lucas Rangit MAGASWERAN</title>
      <link>https://dev.to/lucasrangit</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/lucasrangit"/>
    <language>en</language>
    <item>
      <title>Vacation Mode JavaScript Action</title>
      <dc:creator>Lucas Rangit MAGASWERAN</dc:creator>
      <pubDate>Mon, 21 Sep 2020 08:08:51 +0000</pubDate>
      <link>https://dev.to/lucasrangit/vacation-mode-javascript-action-1l2g</link>
      <guid>https://dev.to/lucasrangit/vacation-mode-javascript-action-1l2g</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;This GitHub Action helps maintainers of open source projects go on vacation and take mental health breaks by limiting community interactions within a repository. During this time, commenting, opening issues, or creating pull requests will be limited to a defined group.&lt;/p&gt;

&lt;p&gt;This GitHub Action avoids the 24 hour limit of the GitHub repository &lt;a href="https://docs.github.com/en/github/building-a-strong-community/limiting-interactions-in-your-repository"&gt;interactions limit&lt;/a&gt; feature. This makes it easier for the project maintainers and more transparent for the community.&lt;/p&gt;

&lt;p&gt;This GitHub Action does not make any changes that would generate a commit.&lt;/p&gt;

&lt;p&gt;This project was inspired by &lt;a href="https://github.com/mrdoob"&gt;@mrdoob&lt;/a&gt;, maintainer of &lt;a href="https://github.com/mrdoob/three.js"&gt;three.js&lt;/a&gt;. I started this project on September 17th based on his feature request.&lt;/p&gt;


&lt;blockquote class="ltag__twitter-tweet"&gt;
      &lt;div class="ltag__twitter-tweet__media"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--2sq-1AHp--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/media/Eh_O2eHWsAI-0NA.jpg" alt="unknown tweet media content"&gt;
      &lt;/div&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--L1o3AvrQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1264791071038435329/qVBo7vx7_normal.jpg" alt="Mr.doob profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Mr.doob
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @mrdoob
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P4t6ys1m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      Today's request for &lt;a href="https://twitter.com/github"&gt;@github&lt;/a&gt;.&lt;br&gt;Crossing fingers 🤞 
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      22:00 PM - 15 Sep 2020
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1305989856368234496" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-reply-action.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1305989856368234496" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-retweet-action.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      1063
      &lt;a href="https://twitter.com/intent/like?tweet_id=1305989856368234496" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-like-action.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
      7512
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;p&gt;I've already received some amazing feedback, which is why I decided to submit it here for more reach.&lt;/p&gt;


&lt;blockquote class="ltag__twitter-tweet"&gt;

  &lt;div class="ltag__twitter-tweet__main"&gt;
    &lt;div class="ltag__twitter-tweet__header"&gt;
      &lt;img class="ltag__twitter-tweet__profile-image" src="https://res.cloudinary.com/practicaldev/image/fetch/s--L1o3AvrQ--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://pbs.twimg.com/profile_images/1264791071038435329/qVBo7vx7_normal.jpg" alt="Mr.doob profile image"&gt;
      &lt;div class="ltag__twitter-tweet__full-name"&gt;
        Mr.doob
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__username"&gt;
        @mrdoob
      &lt;/div&gt;
      &lt;div class="ltag__twitter-tweet__twitter-logo"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--P4t6ys1m--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-f95605061196010f91e64806688390eb1a4dbc9e913682e043eb8b1e06ca484f.svg" alt="twitter logo"&gt;
      &lt;/div&gt;
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__body"&gt;
      &lt;a href="https://twitter.com/lucasrangit"&gt;@lucasrangit&lt;/a&gt; &lt;a href="https://twitter.com/github"&gt;@github&lt;/a&gt; There are two types of engineers:&lt;br&gt;&lt;br&gt;The ones that point every possible flaw of an idea and do nothing.&lt;br&gt;&lt;br&gt;And the ones that say nothing and send you the solution a day later.&lt;br&gt;&lt;br&gt;We need more people like you 🙏
    &lt;/div&gt;
    &lt;div class="ltag__twitter-tweet__date"&gt;
      17:53 PM - 20 Sep 2020
    &lt;/div&gt;


    &lt;div class="ltag__twitter-tweet__actions"&gt;
      &lt;a href="https://twitter.com/intent/tweet?in_reply_to=1307739588266467331" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-reply-action.svg" alt="Twitter reply action"&gt;
      &lt;/a&gt;
      &lt;a href="https://twitter.com/intent/retweet?tweet_id=1307739588266467331" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-retweet-action.svg" alt="Twitter retweet action"&gt;
      &lt;/a&gt;
      1
      &lt;a href="https://twitter.com/intent/like?tweet_id=1307739588266467331" class="ltag__twitter-tweet__actions__button"&gt;
        &lt;img src="https://practicaldev-herokuapp-com.freetls.fastly.net/assets/twitter-like-action.svg" alt="Twitter like action"&gt;
      &lt;/a&gt;
      49
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/blockquote&gt;


&lt;h3&gt;
  
  
  Submission Category:
&lt;/h3&gt;

&lt;p&gt;Maintainer Must-Haves&lt;/p&gt;

&lt;h3&gt;
  
  
  Yaml File
&lt;/h3&gt;



&lt;div class="highlight"&gt;&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Vacation Mode&lt;/span&gt;

&lt;span class="na"&gt;on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Run on all issue activity&lt;/span&gt;
  &lt;span class="na"&gt;issues&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="c1"&gt;# Run daily to reset the 24 hour interaction limit timer as needed&lt;/span&gt;
  &lt;span class="na"&gt;schedule&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;cron&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;0&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;0&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*&lt;/span&gt;&lt;span class="nv"&gt; &lt;/span&gt;&lt;span class="s"&gt;*"&lt;/span&gt;

&lt;span class="na"&gt;jobs&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;vacation_mode_job&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;runs-on&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ubuntu-latest&lt;/span&gt;
    &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Update Vacation Mode&lt;/span&gt;
    &lt;span class="na"&gt;steps&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;uses&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;robotnyc/vacation-mode-action@v1&lt;/span&gt;
      &lt;span class="na"&gt;with&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
        &lt;span class="na"&gt;limit-group&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;collaborators_only'&lt;/span&gt;
        &lt;span class="na"&gt;vacation-mode-activated&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'&lt;/span&gt;&lt;span class="s"&gt;![vacation-mode-activated](https://i.imgflip.com/18t5ch.jpg)'&lt;/span&gt;
        &lt;span class="na"&gt;GITHUB_TOKEN&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;${{ secrets.PERSONAL_ACCESS_TOKEN }}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;h3&gt;
  
  
  Code
&lt;/h3&gt;


&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/robotnyc"&gt;
        robotnyc
      &lt;/a&gt; / &lt;a href="https://github.com/robotnyc/vacation-mode-action"&gt;
        vacation-mode-action
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Limit interactions to your repository while on vacation using GitHub Actions
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
Vacation Mode JavaScript Action&lt;/h1&gt;
&lt;p&gt;This GitHub Action helps maintainers of open source projects go on vacation and take mental health breaks by limiting community interactions within a repository. During this time, commenting, opening issues, or creating pull requests will be limited to a defined group.&lt;/p&gt;
&lt;p&gt;This GitHub Action avoids the 24 hour limit of the GitHub repository &lt;a href="https://docs.github.com/en/github/building-a-strong-community/limiting-interactions-in-your-repository"&gt;interactions limit&lt;/a&gt; feature. This makes it easier for the project maintainers and more transparent for the community.&lt;/p&gt;
&lt;p&gt;This GitHub Action does not make any changes that would generate a commit.&lt;/p&gt;
&lt;p&gt;Inspired by &lt;a href="https://github.com/mrdoob"&gt;@mrdoob's&lt;/a&gt;, maintainer of &lt;a href="https://github.com/mrdoob/three.js"&gt;three.js&lt;/a&gt;, feature request &lt;a href="https://twitter.com/mrdoob/status/1305989856368234496" rel="nofollow"&gt;https://twitter.com/mrdoob/status/1305989856368234496&lt;/a&gt; .&lt;/p&gt;
&lt;h2&gt;
Usage&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Add the &lt;a href="https://raw.githubusercontent.com/robotnyc/vacation-mode-action/main/#setup"&gt;setup code&lt;/a&gt; to your repository workflow.&lt;/li&gt;
&lt;li&gt;Create an issue with a title that contains "vacation". For example, "🌴 On Vacation Next Week".&lt;/li&gt;
&lt;li&gt;Pin the issue to activate it and so your community can clearly see that you are on vacation.&lt;/li&gt;
&lt;li&gt;Include an "out-of-office note" in the issue…&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/robotnyc/vacation-mode-action"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;



&lt;h3&gt;
  
  
  Additional Resources / Info
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/octokit/action.js/"&gt;https://github.com/octokit/action.js/&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>actionshackathon</category>
      <category>vacation</category>
      <category>mentalhealth</category>
    </item>
  </channel>
</rss>
