<?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: Pablo Iranzo Gómez</title>
    <description>The latest articles on DEV Community by Pablo Iranzo Gómez (@iranzo).</description>
    <link>https://dev.to/iranzo</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%2F236954%2F39f6f0da-38ef-42d3-97c8-0e6175276857.jpeg</url>
      <title>DEV Community: Pablo Iranzo Gómez</title>
      <link>https://dev.to/iranzo</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/iranzo"/>
    <language>en</language>
    <item>
      <title>Citellus GitHub Action</title>
      <dc:creator>Pablo Iranzo Gómez</dc:creator>
      <pubDate>Mon, 17 Aug 2020 21:37:17 +0000</pubDate>
      <link>https://dev.to/iranzo/citellus-github-action-m9a</link>
      <guid>https://dev.to/iranzo/citellus-github-action-m9a</guid>
      <description>&lt;h3&gt;
  
  
  My Workflow
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://github.com/citellusorg/gh-action-citellus/"&gt;https://github.com/citellusorg/gh-action-citellus/&lt;/a&gt; allows to run a custom set of rules against a folder and generate a GitHub site so that the report can be previewed online.&lt;/p&gt;

&lt;p&gt;A new rule added triggers a new execution with new report rendering.&lt;/p&gt;

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

&lt;p&gt;Wacky Wildcards&lt;/p&gt;

&lt;h3&gt;
  
  
  Yaml File or Link to 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--i3JOwpme--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev.to/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/risuorg"&gt;
        risuorg
      &lt;/a&gt; / &lt;a href="https://github.com/risuorg/gh-action-risu"&gt;
        gh-action-risu
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      Runs Risu as GitHub Action
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;h1&gt;
GitHub Risu Action&lt;/h1&gt;
&lt;p&gt;This action runs Risu with provided parameters via optional &lt;code&gt;build.sh&lt;/code&gt; and pushes the generated content to Git Hub Pages site.&lt;/p&gt;
&lt;h2&gt;
Environment variables&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;GH_PAGES_BRANCH&lt;/code&gt; (optional): override the default &lt;code&gt;gh-pages&lt;/code&gt; deployment branch&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;SOSREPORT&lt;/code&gt; (optional): override the default &lt;code&gt;.&lt;/code&gt; folder for SOSREPORT source&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;CONFIGPATH&lt;/code&gt; (optional): Set path for finding the &lt;code&gt;.risu.conf&lt;/code&gt; configuration file&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;
Setup&lt;/h2&gt;
&lt;p&gt;Create a &lt;code&gt;.github/workflow/risu.yml&lt;/code&gt; like:&lt;/p&gt;
&lt;div class="highlight highlight-source-yaml position-relative overflow-auto js-code-highlight"&gt;
&lt;pre&gt;&lt;span class="pl-ent"&gt;name&lt;/span&gt;: &lt;span class="pl-s"&gt;Run RISU analysis&lt;/span&gt;

&lt;span class="pl-ent"&gt;on&lt;/span&gt;:
  &lt;span class="pl-ent"&gt;push&lt;/span&gt;:
    &lt;span class="pl-ent"&gt;branches&lt;/span&gt;:
      - &lt;span class="pl-s"&gt;master&lt;/span&gt;
  &lt;span class="pl-ent"&gt;schedule&lt;/span&gt;:
    - &lt;span class="pl-ent"&gt;cron&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;0 0 * * *&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;

&lt;span class="pl-ent"&gt;jobs&lt;/span&gt;:
  &lt;span class="pl-ent"&gt;Risu&lt;/span&gt;:
    &lt;span class="pl-ent"&gt;runs-on&lt;/span&gt;: &lt;span class="pl-s"&gt;ubuntu-16.04&lt;/span&gt;
    &lt;span class="pl-ent"&gt;steps&lt;/span&gt;:
      - &lt;span class="pl-ent"&gt;uses&lt;/span&gt;: &lt;span class="pl-s"&gt;actions/checkout@v2&lt;/span&gt;

      &lt;span class="pl-c"&gt;&lt;span class="pl-c"&gt;#&lt;/span&gt; Use GitHub Actions' cache to shorten build times and decrease load on servers&lt;/span&gt;
      - &lt;span class="pl-ent"&gt;uses&lt;/span&gt;: &lt;span class="pl-s"&gt;actions/cache@v2.1.0&lt;/span&gt;
        &lt;span class="pl-ent"&gt;with&lt;/span&gt;:
          &lt;span class="pl-ent"&gt;path&lt;/span&gt;: &lt;span class="pl-s"&gt;~/.cache/pip&lt;/span&gt;
          &lt;span class="pl-ent"&gt;key&lt;/span&gt;: &lt;span class="pl-s"&gt;${{ runner.os }}-pip-${{ hashFiles('**/requirements/*') }}&lt;/span&gt;
          &lt;span class="pl-ent"&gt;restore-keys&lt;/span&gt;: &lt;span class="pl-s"&gt;|&lt;/span&gt;
&lt;span class="pl-s"&gt;            ${{ runner.os }}-pip-&lt;/span&gt;

      - &lt;span class="pl-ent"&gt;uses&lt;/span&gt;: &lt;span class="pl-s"&gt;risuorg/gh-action-Risu@0.0.1&lt;/span&gt;
        &lt;span class="pl-ent"&gt;env&lt;/span&gt;:
          &lt;span class="pl-ent"&gt;GITHUB_TOKEN&lt;/span&gt;: &lt;span class="pl-s"&gt;${{secrets.GITHUB_TOKEN}}&lt;/span&gt;
          &lt;span class="pl-ent"&gt;SOSREPORT&lt;/span&gt;: &lt;span class="pl-s"&gt;test&lt;/span&gt;
          &lt;span class="pl-ent"&gt;CONFIGPATH&lt;/span&gt;: &lt;span class="pl-s"&gt;&lt;span class="pl-pds"&gt;"&lt;/span&gt;./&lt;span class="pl-pds"&gt;"&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;p&gt;Adjust…&lt;/p&gt;
&lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/risuorg/gh-action-risu"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;


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

&lt;p&gt;Used at IPI Validations by &lt;a class="mentioned-user" href="https://dev.to/iranzo"&gt;@iranzo&lt;/a&gt;
 to use a custom set of scripts and config to generate validation output &lt;a href="https://github.com/iranzo/ipival/"&gt;https://github.com/iranzo/ipival/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Sample output from that repository at: &lt;a href="https://iranzo.github.io/ipival/"&gt;https://iranzo.github.io/ipival/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>actionshackathon</category>
      <category>python</category>
      <category>troubleshooting</category>
      <category>report</category>
    </item>
  </channel>
</rss>
