36 lines
865 B
YAML
36 lines
865 B
YAML
name: "Require All Codeowners"
|
|
description: "Ensures all code owners have approved."
|
|
author: "John McCall"
|
|
|
|
branding:
|
|
icon: "user-check"
|
|
color: "green"
|
|
|
|
inputs:
|
|
pr-number:
|
|
description: "The number of the pull request."
|
|
required: true
|
|
default: "999"
|
|
token:
|
|
description: "Github token for authentication."
|
|
required: false
|
|
default: ${{ secets.GITHUB_TOKEN }}
|
|
repository:
|
|
description: "owner/repository of pull request."
|
|
required: false
|
|
default: ${{ github.repository }}
|
|
|
|
outputs:
|
|
approved:
|
|
description: "Code owners who have approved the pull request."
|
|
approved-count:
|
|
description: "Number of approved code owners."
|
|
pending:
|
|
description: "Code owners who have not approved the pull request."
|
|
pending-count:
|
|
description: "Number of pending code owners."
|
|
|
|
runs:
|
|
using: node20
|
|
main: dist/index.js
|