Skip to content

Commit

Permalink
Merge pull request #14 from gooddata/jimi/lint
Browse files Browse the repository at this point in the history
fix(commit-lint): do not check risk also for extimage updates
  • Loading branch information
jimirocks authored Nov 14, 2024
2 parents 47ec045 + d1712af commit 79a4ac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/commit-lint-shell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
REPO_NAME="${{ github.repository }}"
if [[ "$REPO_NAME" =~ ^(.*/)?(gdc-nas|gdc-ui|gooddata-ui-sdk|gdc-panther)$ ]]; then
if [[ ! "$COMMIT_SUBJECT" =~ ^chore\(deps\): ]]; then
if [[ ! "$COMMIT_SUBJECT" =~ ^chore.*:[[:space:]]update ]]; then
TRAILERS=$(git show -s --format=%B "$COMMIT_HASH" | git interpret-trailers --parse)
if ! echo "$TRAILERS" | grep -iqE '^risk:\s*(nonprod|low|high)'; then
COMMIT_VIOLATIONS+=":x: does not contain a valid risk trailer\n"
Expand Down

0 comments on commit 79a4ac1

Please sign in to comment.