diff --git a/.github/workflows/check-deps.sh b/.github/workflows/check-deps.sh index 52f92d31..7ac2236f 100755 --- a/.github/workflows/check-deps.sh +++ b/.github/workflows/check-deps.sh @@ -1,6 +1,7 @@ #!/bin/bash -e GITHUB_PR_LABEL="dependencies" +COMMIT_TITLE="Update dependencies" if [ -z "$BRANCH_NAME" ]; then echo "Branch name is required" @@ -19,13 +20,15 @@ _update_output="$(TERM=dumb rebar3 update-deps --replace)" if git diff --exit-code --quiet; then echo "No changes to the dependencies" exit 0 +else + echo "Detected changes to dependencies" fi git checkout -b "$BRANCH_NAME" git add . git commit -F- < 160, - ribbon => 150, - inline_attributes => none, - inline_qualified_function_composition => true - }} -]}. - + {format, + [{formatter, default_formatter}, + {files, ["src/**/*.?rl", "include/**/*.?rl"]}, + {options, + #{paper => 160, ribbon => 150, + inline_attributes => none, + inline_qualified_function_composition => true}}]}. {depup, [{only, minor}]}. -{shell, [ - {apps, [erldns]}, - {config, "erldns.config"} -]}. - -{relx, [ - {release, {erldns, "3.0.0"}, [erldns]}, - - {dev_mode, true}, - {include_erts, false}, - {sys_config, "erldns.config"}, - {overlay, [ - {copy, "priv/zones-example.json", "priv/zones-example.json"}, - {copy, "priv/zones-test.json", "priv/zones-test.json"} - ]}, - - {extended_start_script, true} -]}. - -%% This is a rebar3-ism -{overrides, [ - {override, dns_erlang, [ - {plugins, [ - {provider_asn1, "0.2.3"} - ]}, - {provider_hooks, [ - {pre, [ - {compile, {asn, compile}} - ]}, - {post, [ - {clean, {asn, clean}} - ]} - ]} - ]} -]}. - + {shell, [{apps, [erldns]}, {config, "erldns.config"}]}. + + {relx, + [{release, {erldns, "3.0.0"}, [erldns]}, + {dev_mode, true}, + {include_erts, false}, + {sys_config, "erldns.config"}, + {overlay, + [{copy, + "priv/zones-example.json", + "priv/zones-example.json"}, + {copy, + "priv/zones-test.json", + "priv/zones-test.json"}]}, + {extended_start_script, true}]}. + + {overrides, + [{override, + dns_erlang, + [{plugins, [{provider_asn1, "0.2.3"}]}, + {provider_hooks, + [{pre, [{compile, {asn, compile}}]}, + {post, [{clean, {asn, clean}}]}]}]}]}. {dialyzer, [{warnings, [no_unknown]}]}. +{erlfmt, [write, {print_width, 140}]}. -{erlfmt, [ - write, - {print_width, 140} -]}. +%% This is a rebar3-ism