fix: catalog header pattern;forum rule as warning #259
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| # Add policies to test here. Use a path relative to the root of this repository. | |
| - repolinter-rulesets/community-plus.yml | |
| - repolinter-rulesets/new-relic-one-catalog-project.json | |
| - repolinter-rulesets/example-code.yml | |
| - repolinter-rulesets/new-relic-experimental.yml | |
| - repolinter-rulesets/community-project.yml | |
| steps: | |
| - name: Checkout Repo | |
| uses: actions/checkout@v2 | |
| - name: Run Repolinter Action | |
| id: repolinter | |
| continue-on-error: true | |
| uses: newrelic/repolinter-action@v1 | |
| with: | |
| config_file: ${{ matrix.config }} | |
| - name: Check Repolinter Action Result | |
| env: | |
| DID_ERROR: ${{ steps.repolinter.outputs.errored }} | |
| shell: bash | |
| run: '[ "$DID_ERROR" = "false" ]' |