title: Github action test if a commit containing a specific word was previously made
body: <p>I need to make sure to test with github action, if a commit has previously been made that contains the word <code>build</code>.
  If the commit does not contain the word <code>build</code> then tests with github action should not be run.</p>
  <p>Can you give me some advice?</p>
  <p>Test:</p>
  <pre class="lang-yaml prettyprint-override"><code>name: &quot;Testing&quot;
  
  on:
    push:
      branches:
        - master
  
  jobs:
    test_the_action:
      name: Test the action
      runs-on: ubuntu-18.04
      steps:
        - uses: actions/checkout@v2          
        - uses: suisei-cn/actions-download-file@master
          id: downloadfile
          name: Download a file
          with:
            url: &quot;[API Endpoint](https://api.github.com/repos/suisei-cn/actions-download-file)&quot;
            target: public/
            auto-match: true
  
        - name: Display the file
          run: head -n8 public/actions-download-file          
  </code></pre>