Skip to content

Commit fedf0bb

Browse files
feat: fixes committed run on master
* Fixes committed run on master - skip for now
1 parent 25a4de1 commit fedf0bb

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

committed.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
style = "conventional"
99
subject_capitalized = false
1010
imperative_subject = false
11+
allowed_types = []

eirctl.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,21 @@ tasks:
4444
description: Lint commit messages against Conventional Commits using committed
4545
command:
4646
- |
47+
COMMITTED_VERSION="v1.1.11"
4748
apk add --no-cache git
4849
git config --global safe.directory '*'
4950
if [ ! -f /eirctl/.eirctl/committed ]; then
5051
echo "Downloading committed binary..."
51-
wget -qO- https://github.com/crate-ci/committed/releases/download/v1.1.11/committed-v1.1.11-x86_64-unknown-linux-musl.tar.gz \
52+
wget -qO- https://github.com/crate-ci/committed/releases/download/${COMMITTED_VERSION}/committed-${COMMITTED_VERSION}-x86_64-unknown-linux-musl.tar.gz \
5253
| tar xz -C /tmp
5354
install -m 755 /tmp/committed /eirctl/.eirctl/committed
5455
fi
5556
if [ -n "$GITHUB_BASE_REF" ]; then
5657
RANGE="HEAD^1..HEAD^2"
58+
/eirctl/.eirctl/committed $RANGE --no-merge-commit
5759
else
58-
RANGE="origin/main..HEAD"
60+
echo "SKIPPING FOR NOW ON NON-PRs"
5961
fi
60-
/eirctl/.eirctl/committed $RANGE --no-merge-commit
6162
6263
show:coverage:
6364
description: Opens the current coverage viewer for the the configmanager utility.

0 commit comments

Comments
 (0)