-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…hout-login-shell fix: prepare-commit-msg script fails when cannot find git mob
- Loading branch information
Showing
6 changed files
with
48 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,9 +59,9 @@ jobs: | |
|
||
- name: Setup build dependencies | ||
run: | | ||
go install github.com/kisielk/godepgraph@latest | ||
echo skipping: go install github.com/kisielk/godepgraph@latest | ||
go install github.com/restechnica/semverbot/cmd/sbot@latest | ||
go install github.com/siderolabs/conform/cmd/conform@latest | ||
echo skipping: go install github.com/siderolabs/conform/cmd/conform@latest | ||
go install github.com/git-chglog/git-chglog/cmd/[email protected] | ||
- name: Validate build dependencies | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,50 +173,51 @@ grepVersion 'ruby' 'ruby --version' "$REQUIRED_RUBY_VERSION" | |
findCmd gem | ||
findCmd bundle 'gem install bundler' | ||
|
||
findCmd godepgraph "go install github.com/kisielk/godepgraph@latest" | ||
# see: https://github.com/siderolabs/conform/issues/251 | ||
#findCmd godepgraph "go install github.com/kisielk/godepgraph@latest" | ||
|
||
findCmd sbot "go install github.com/restechnica/semverbot/cmd/sbot@latest" | ||
if [ ! -f .semverbot.toml ]; then | ||
note "initializing sbot" | ||
sbot init | ||
fi | ||
|
||
findCmd conform "go install github.com/siderolabs/conform/cmd/conform@latest" | ||
if [ ! -f .conform.yaml ]; then | ||
note "initializing conform" | ||
cat << EOD > .conform.yaml | ||
policies: [] | ||
- type: commit | ||
spec: | ||
header: | ||
length: 80 | ||
imperative: true | ||
case: lower | ||
invalidLastCharacters: . | ||
body: | ||
required: false | ||
gpg: | ||
required: false | ||
spellcheck: | ||
locale: US | ||
maximumOfOneCommit: false | ||
conventional: | ||
types: | ||
- "build" # Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | ||
- "ci" # Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs) | ||
- "docs" # Documentation only changes | ||
- "feat" # A new feature | ||
- "fix" # A bug fix | ||
- "perf" # A code change that improves performance | ||
- "refactor" # A code change that neither fixes a bug nor adds a feature | ||
- "test" # Adding missing tests or correcting existing tests | ||
scopes: | ||
- "migration" | ||
- "import" | ||
- "frontend" | ||
descriptionLength: 72 | ||
EOD | ||
fi | ||
#findCmd conform "go install github.com/siderolabs/conform/cmd/conform@latest" | ||
#if [ ! -f .conform.yaml ]; then | ||
# note "initializing conform" | ||
# cat << EOD > .conform.yaml | ||
#policies: [] | ||
# - type: commit | ||
# spec: | ||
# header: | ||
# length: 80 | ||
# imperative: true | ||
# case: lower | ||
# invalidLastCharacters: . | ||
# body: | ||
# required: false | ||
# gpg: | ||
# required: false | ||
# spellcheck: | ||
# locale: US | ||
# maximumOfOneCommit: false | ||
# conventional: | ||
# types: | ||
# - "build" # Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm) | ||
# - "ci" # Changes to our CI configuration files and scripts (examples: CircleCi, SauceLabs) | ||
# - "docs" # Documentation only changes | ||
# - "feat" # A new feature | ||
# - "fix" # A bug fix | ||
# - "perf" # A code change that improves performance | ||
# - "refactor" # A code change that neither fixes a bug nor adds a feature | ||
# - "test" # Adding missing tests or correcting existing tests | ||
# scopes: | ||
# - "migration" | ||
# - "import" | ||
# - "frontend" | ||
# descriptionLength: 72 | ||
#EOD | ||
#fi | ||
|
||
findCmd git-chglog "go install github.com/git-chglog/git-chglog/cmd/[email protected]" | ||
if [ ! -f .chglog/config.yml ]; then | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters