mirror of https://github.com/llvm/circt.git
28 lines
801 B
YAML
28 lines
801 B
YAML
name: "Request review from code owner"
|
|
on:
|
|
pull_request_target:
|
|
branches: [ main ]
|
|
|
|
jobs:
|
|
# Automatically request reviews from the code owner identified in a set of
|
|
# JSON files in codeowners/.
|
|
request_reviewer:
|
|
name: "Request review from code owner"
|
|
runs-on: ubuntu-18.04
|
|
steps:
|
|
- name: Get CIRCT
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: 'false'
|
|
- name: apply-herald-rules
|
|
id: herald
|
|
uses: gagoar/use-herald-action@master
|
|
continue-on-error: true
|
|
with:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
rulesLocation: codeowners/*.json
|
|
DEBUG: '*'
|
|
# Output the decisions
|
|
- name: Store response payload to file
|
|
run: echo '${{ steps.herald.outputs.appliedRules }}'
|