create-dr/action.yml
Shrikanth Upadhayaya b953c700bf
Initialize
2024-09-17 12:12:32 -04:00

42 lines
1.1 KiB
YAML

name: "Create Design Review"
description: |
Create a Design Review on the current repository using the current branch as
HEAD.
inputs:
title:
description: "Title of the design review"
required: true
auth_token:
description: "An AllSpice Hub auth token."
required: true
description:
description: "Description of the design review"
required: false
base_branch_name:
description: "The name of the branch to use as the base for the DR. If not provided, the default branch is used"
required: false
log_level:
description: "Level of logger to use, default INFO"
required: false
default: "INFO"
runs:
using: "docker"
image: "Dockerfile"
args:
- "--title"
- ${{ inputs.title }}
- "--repository"
- ${{ github.repository }}
- "--allspice-hub-url"
- ${{ github.server_url }}
- "--description"
- ${{ inputs.description }}
- "--base-branch-name"
- ${{ inputs.base_branch_name }}
- "--log-level"
- ${{ inputs.log_level }}
env:
ALLSPICE_AUTH_TOKEN: ${{ inputs.auth_token }}