Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
---
name: "GitHub CODEOWNERS Validator"
description: "GitHub action to ensure the correctness of your CODEOWNERS file."
author: "szostok.mateusz@gmail.com"

inputs:
docker_image:
description: "Docker image to use when running the GitHub Workflow. The value defaults to the latest publicly released GitHub Docker image, but this can/should be overridden in scenarios where supply chain attacks are a concern. Some examples: GitHub Enterprise environments, when using an internal Docker Hub instance, etc."
required: false
default: "docker://ghcr.io/mszostok/codeowners-validator:v0.7.4"

github_access_token:
description: "The GitHub access token. Instruction for creating a token can be found here: https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/#creating-a-token. If not provided then validating owners functionality could not work properly, e.g. you can reach the API calls quota or if you are setting GitHub Enterprise base URL then an unauthorized error can occur."
required: false
Expand Down Expand Up @@ -80,7 +86,7 @@ inputs:

runs:
using: 'docker'
image: 'docker://ghcr.io/mszostok/codeowners-validator:v0.7.4'
image: "${{ inputs.docker_image }}"
env:
ENVS_PREFIX: "INPUT"

Expand Down