| # Copyright lowRISC contributors. |
| # Licensed under the Apache License, Version 2.0, see LICENSE for details. |
| # SPDX-License-Identifier: Apache-2.0 |
| - uses: actions/checkout@v2 |
| - name: concatenate verible configs |
| find . -type f -name '*.rules.verible_lint' -exec cat {} \; > verible_config |
| find . -type f -name '*.vbl' -exec cat {} \; > verible_waiver |
| - name: Show config (rules) |
| run: cp "$GITHUB_EVENT_PATH" ./event.json |
| # If this workflow is triggered by a PR from a fork |
| # it won't have sufficient access rights to make a review |
| # so we just save the file needed to do the review |
| # in a context with proper access rights |
| - name: Upload event file and config as artifacts |
| uses: actions/upload-artifact@v2 |