diff --git a/.github/workflows/newrelic-repolinter.yaml b/.github/workflows/repolinter.yaml similarity index 52% rename from .github/workflows/newrelic-repolinter.yaml rename to .github/workflows/repolinter.yaml index 7cf623b..855db81 100644 --- a/.github/workflows/newrelic-repolinter.yaml +++ b/.github/workflows/repolinter.yaml @@ -1,6 +1,10 @@ name: 'Validate master branch with Repolinter' -on: [push] +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] jobs: repolinter-action: @@ -10,7 +14,3 @@ jobs: uses: actions/checkout@v2 - name: 'Run Repolinter' uses: newrelic/repolinter-action@v1 - with: - config_file: quic-newrelic-repolint.json - # with: - # config_url: https://raw.githubusercontent.com/craigez/license-text-normalizer-js/test_repolinter_action/quic-repolint.json diff --git a/quic-newrelic-repolint.json b/repolint.json similarity index 100% rename from quic-newrelic-repolint.json rename to repolint.json