Skip to content

Commit e0d4082

Browse files
committed
Work around INPUT_* missing in composite action (JIRA BLD-5704)
See actions/runner#665
1 parent 696a9b7 commit e0d4082

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

action.yml

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
name: CCDC File Checks
22
author: CCDC
33
description: Check changed files for compliance
4+
inputs:
5+
commitMessage:
6+
description: 'The commit message'
7+
required: true
48
runs:
59
using: "composite"
610
steps:
711
- run: python3 $GITHUB_ACTION_PATH/main.py
812
shell: bash
9-
inputs:
10-
commitMessage:
11-
description: 'The commit message'
12-
required: true
13+
env:
14+
INPUT_COMMITMESSAGE: ${{ inputs.commitMessage }}
1315
branding:
1416
icon: 'check-square'
1517
color: 'green'

0 commit comments

Comments
 (0)