Skip to content

Commit

Permalink
chore(action): properly forward settings from workflow to env
Browse files Browse the repository at this point in the history
Enviroment variables are COMMIT_VALIDATOR_ prefixed.
This cannot be a fix, because we are using master for the action.
  • Loading branch information
sebastien-boulle committed Aug 31, 2020
1 parent f16be8f commit 494c06f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commit-message-validator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- name: Commit message validation
uses: lumapps/commit-message-validator@master
with:
no_jira: 1
no_jira: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ runs:
- name: Validation
run: ${{ github.action_path }}/check.sh ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }}
env:
no_jira: ${{ inputs.no_jira }}
allow_temp: ${{ inputs.allow_temp }}
COMMIT_VALIDATOR_NO_JIRA: ${{ inputs.no_jira }}
COMMIT_VALIDATOR_ALLOW_TEMP: ${{ inputs.allow_temp }}
shell: bash

0 comments on commit 494c06f

Please sign in to comment.