Skip to content

FOSSA composite action exit code #223

FOSSA composite action exit code

FOSSA composite action exit code #223

Workflow file for this run

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" ]'