GitHub - issue-ops/demo-reservation-action: A demonstration action for managing reservations (original) (raw)

IssueOps Demo - Reservation Action

Check dist/ Code Coverage CodeQL Continuous Integration Continuous Delivery Linter

Demo action for processing reservation requests forBear Creek Honey Farm, a fictional bed and breakfast.

About

This is an example action that processes reservation requests for a fictional bed and breakfast. It is used to demonstrate how to build anIssueOps action.

Depending on the value of the action input (described in the following section), this action will do one of the following:

init

reserve

cancel

expire

Inputs

Name Description
action Action to perform (init, reserve, cancel, or expire)
github_token GitHub token to use for authentication (e.g. ${{ github.token }})
issue_body Issue body as a JSON string (not required when action is set to expire)
issue_template_path Path to the issue template file (e.g. .github/ISSUE_TEMPLATE/reservation.yml)
project_number Number of the project board where reservations are managed
workspace Path to the workspace directory (e.g. ${{ github.workspace }})