Skip to content

Commit e5acfea

Browse files
authored
remote-copy.yml: Add a inputs.note field to help approvers decisions (#14)
1 parent 1045149 commit e5acfea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/remote-copy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ on:
1010
options:
1111
- Gadi
1212
- Gadi Prerelease
13+
note:
14+
type: string
15+
required: false
16+
description: Note describing the reason for the change
1317
source:
1418
type: string
1519
required: true
@@ -56,6 +60,9 @@ jobs:
5660
- name: Log inputs
5761
run: |
5862
echo "::notice::Copy on ${{ inputs.remote-environment }} from '${{ inputs.source }}' to '${{ inputs.target }}' with ACLs '${{ inputs.target-acl-spec }}'"
63+
if [[ "${{ inputs.note }}" != "" ]]; then
64+
echo "::notice::Note from ${{ github.actor }}: '${{ inputs.note }}'"
65+
fi
5966
echo "::${{ inputs.overwrite-target && 'warning' || 'notice' }}::This operation ${{ inputs.overwrite-target && 'WILL' || 'will not' }} overwrite ${{ inputs.target }}"
6067
6168
- name: Verify inputs

0 commit comments

Comments
 (0)