Skip to content

Commit 6395a1e

Browse files
committed
Merge branch 'main' into testing
2 parents f54a818 + 65ed38e commit 6395a1e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ inputs:
44
GITHUB_TOKEN:
55
description: 'Token used to access the GitHub API. When in doubt, set this to the value of secrets.GITHUB_TOKEN.'
66
required: true
7+
before:
8+
description: 'Commit hash of the most recent commit before the push. Unless you know what you are doing, you do not need to change this.'
9+
required: false
10+
default: ${{ github.event.before }}
11+
after:
12+
description: 'Commit hash of the most recent commit after the push. Unless you know what you are doing, you do not need to change this.'
13+
required: false
14+
default: ${{ github.event.after }}
715
do-release:
816
description: 'Whether to create a GitHub release for the new tag. Allowed values: `true` and `false`. Default value: `false`.'
917
required: false
@@ -23,6 +31,6 @@ runs:
2331
shell: bash
2432
env:
2533
GH_TOKEN: ${{ inputs.GITHUB_TOKEN }}
26-
BEFORE: ${{ github.event.before }}
27-
AFTER: ${{ github.event.after }}
34+
BEFORE: ${{ inputs.before }}
35+
AFTER: ${{ inputs.after }}
2836
DO_RELEASE: ${{ inputs.do-release }}

0 commit comments

Comments
 (0)