diff --git a/.github/workflows/github-actions-validator.yml b/.github/workflows/github-actions-validator.yml new file mode 100644 index 0000000..cc6c273 --- /dev/null +++ b/.github/workflows/github-actions-validator.yml @@ -0,0 +1,13 @@ +name: "CI: github-actions-validator" + +on: + pull_request: + + +jobs: + github-actions-validator: + name: Github-actions-validator + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: lumapps/github-actions-validator@0.0.2 diff --git a/check_message.sh b/check_message.sh index 72478f5..13de8d7 100755 --- a/check_message.sh +++ b/check_message.sh @@ -2,8 +2,7 @@ set -eu -OPTIONS=$(getopt --long no-jira,allow-temp,jira-in-header,header-length:,jira-types: -- "$@") - +OPTIONS=$(getopt --longoptions no-jira,allow-temp,jira-in-header,header-length:,jira-types: --options "" -- "$@") unset COMMIT_VALIDATOR_ALLOW_TEMP COMMIT_VALIDATOR_NO_JIRA COMMIT_VALIDATOR_NO_REVERT_SHA1 GLOBAL_JIRA_IN_HEADER GLOBAL_MAX_LENGTH GLOBAL_JIRA_TYPES eval set -- $OPTIONS