Skip to content

Commit 494c06f

Browse files
chore(action): properly forward settings from workflow to env
Enviroment variables are COMMIT_VALIDATOR_ prefixed. This cannot be a fix, because we are using master for the action.
1 parent f16be8f commit 494c06f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/commit-message-validator.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Commit message validation
1616
uses: lumapps/commit-message-validator@master
1717
with:
18-
no_jira: 1
18+
no_jira: true
1919
env:
2020
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ runs:
2525
- name: Validation
2626
run: ${{ github.action_path }}/check.sh ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
2727
env:
28-
no_jira: ${{ inputs.no_jira }}
29-
allow_temp: ${{ inputs.allow_temp }}
28+
COMMIT_VALIDATOR_NO_JIRA: ${{ inputs.no_jira }}
29+
COMMIT_VALIDATOR_ALLOW_TEMP: ${{ inputs.allow_temp }}
3030
shell: bash

0 commit comments

Comments
 (0)