Skip to content

Commit

Permalink
chore(action.yml): format action.yml to mach new inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
trilom committed Mar 17, 2020
1 parent 4fc4d48 commit 170769d
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,32 +4,26 @@ author: 'Bryan Killian <me@trilom.org>'
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'
Expand Down

0 comments on commit 170769d

Please sign in to comment.