Skip to content

Commit 7c13f74

Browse files
committed
change input names between workflow and action inputs to make it easier to see
1 parent e6b2b6d commit 7c13f74

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/actions/greet-user/action.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Welcomes someone to our party
33

44
inputs:
55
# The value here is how you will reference the input in the job steps
6-
thename:
6+
who_to_greet:
77
description: 'What is your name?'
88
type: string
99
required: true
@@ -15,4 +15,4 @@ runs:
1515
id: greet-user
1616
shell: bash
1717
run: |
18-
echo "::notice::Hello, ${{ inputs.thename }} from an action!!!"
18+
echo "::notice::Hello, ${{ inputs.who_to_greet }} from an action!!!"

.github/workflows/fifth.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: ./.github/actions/greet-user
1616
with:
17-
thename: ${{ inputs.thename }}
17+
who_to_greet: ${{ inputs.thename }}

0 commit comments

Comments
 (0)