From 170769d152b5b5270004c223a9c344e646e3fff5 Mon Sep 17 00:00:00 2001 From: Bryan Killian Date: Tue, 17 Mar 2020 17:10:53 -0400 Subject: [PATCH] chore(action.yml): format action.yml to mach new inputs --- action.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/action.yml b/action.yml index 13a2d50f..f041e4e8 100644 --- a/action.yml +++ b/action.yml @@ -4,32 +4,26 @@ author: 'Bryan Killian ' inputs: githubRepo: description: 'The github repository you want to compare changes from, defaults to the github.repository.' - default: ${{ format('{0}{1}', github.repository, '') }} - required: true + required: false githubToken: description: 'The github action token will be used by default, if you want to use something different than you can pass it in here.' default: ${{ github.token }} required: true pushBefore: description: 'Pass in a specific sha to compare to as a before, required if using pushAfter. (push BASE payload after github.payload.before)' - default: ${{ format('{0}{1}', github.payload.before, '') }} required: false pushAfter: description: 'Pass in a specific sha to compare to as an after, required if using pushBefore. (push HEAD payload after github.payload.after)' - default: ${{ format('{0}{1}', github.payload.after, '') }} required: false prNumber: description: 'Pass in a specific PR number to get file changes from.' - default: ${{ format('{0}{1}', github.event.pull_request.number, '') }} required: false output: description: 'Choose between json (default), or custom delimiter by passing a string, for example '','' for csv variable output' - required: true - default: json + required: false fileOutput: description: 'Choose between json (default), or custom delimiter by passing a string, for example '','' for csv file output. If you set as json the file output will be suffixed with .json, if you select '','' then the output will be .csv, else .txt will be the output.' - required: true - default: json + required: false outputs: files: description: 'The names all new, updated, and deleted files'