blob: a1b30bc1509763359dbcb3d8c7b8b5563502095a [file]
# Copyright lowRISC contributors.
# Licensed under the Apache License, Version 2.0, see LICENSE for details.
# SPDX-License-Identifier: Apache-2.0
name: pr-trigger
on:
pull_request:
jobs:
upload:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: concatenate verible configs
run: |
find . -type f -name '*.vbl' -exec cat {} \; > verible_config
- name: Copy event file
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
with:
name: verible_input
path: |
verible_config
event.json