Support new branches with multiple commits (#25)

Add support for newly created branches with multiple commits
This commit is contained in:
Luis G. Valle
2021-08-26 10:45:28 +02:00
committed by GitHub
parent c159a716fd
commit 83d97eeea1
2 changed files with 25 additions and 4 deletions

View File

@@ -12,6 +12,14 @@ inputs:
description: "The path to the repository where the action will be used, e.g. 'alstr/my-repo' (automatically set)"
required: true
default: "${{ github.repository }}"
BEFORE:
description: "The SHA of the last pushed commit (automatically set)"
required: true
default: "${{ github.event.before }}"
COMMITS:
description: "An array of commit objects describing the pushed commits"
required: true
default: "${{ toJSON(github.event.commits) }}"
SHA:
description: "The SHA of the latest commit (automatically set)"
required: true