mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-24 17:00:10 +02:00
Compare commits
3 Commits
f12cfa9b78
...
a68ef0dde2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a68ef0dde2 | ||
|
|
23fad482b8 | ||
|
|
5a87daf3e4 |
@@ -90,6 +90,7 @@ resolve)
|
|||||||
;;
|
;;
|
||||||
watch)
|
watch)
|
||||||
MINS="${3:-180}" # the addon build alone has taken ~3h; 20 was far too short
|
MINS="${3:-180}" # the addon build alone has taken ~3h; 20 was far too short
|
||||||
|
wfail=2 # not 0: running out of minutes with checks still pending is not a pass
|
||||||
for i in $(seq 1 "$MINS"); do
|
for i in $(seq 1 "$MINS"); do
|
||||||
c=$(gh pr checks "$PR" 2> /dev/null | awk '{print $1"="$2}' | tr '\n' ' ')
|
c=$(gh pr checks "$PR" 2> /dev/null | awk '{print $1"="$2}' | tr '\n' ' ')
|
||||||
if [ -z "$c" ]; then
|
if [ -z "$c" ]; then
|
||||||
@@ -102,11 +103,14 @@ watch)
|
|||||||
case "$c" in
|
case "$c" in
|
||||||
*pending*) sleep 60 ;;
|
*pending*) sleep 60 ;;
|
||||||
*fail* | *error* | *cancel*) echo "settled — with FAILURES (see above)"; wfail=1; break ;;
|
*fail* | *error* | *cancel*) echo "settled — with FAILURES (see above)"; wfail=1; break ;;
|
||||||
*) echo "settled — all passing"; break ;;
|
*) echo "settled — all passing"; wfail=0; break ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
[ "$wfail" -eq 2 ] && echo "gave up after ${MINS}m, checks still unsettled — NOT a pass"
|
||||||
|
# A PR touching no */config.* skips the CHANGELOG, linter and build jobs outright (#3018).
|
||||||
|
case "${c:-}" in *skipping*) echo " ...of which some were SKIPPED — a skipped job tested nothing" ;; esac
|
||||||
echo "note: long queues here are usually account runner contention, not your diff."
|
echo "note: long queues here are usually account runner contention, not your diff."
|
||||||
exit "${wfail:-0}"
|
exit "$wfail"
|
||||||
;;
|
;;
|
||||||
*) echo "unknown: $CMD"; exit 1 ;;
|
*) echo "unknown: $CMD"; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ if [ -n "${BUILD_VERSION:-}" ]; then
|
|||||||
echo " $SLUG/config.yaml version = $here"
|
echo " $SLUG/config.yaml version = $here"
|
||||||
echo " running image BUILD_VERSION = $BUILD_VERSION"
|
echo " running image BUILD_VERSION = $BUILD_VERSION"
|
||||||
if [ "$here" = "$BUILD_VERSION" ]; then
|
if [ "$here" = "$BUILD_VERSION" ]; then
|
||||||
echo " MATCH — this checkout corresponds to the running image."
|
# version is bumped once per PR, so a later commit or a dirty tree matches here.
|
||||||
|
echo " VERSION MATCH — source revision itself is not verified."
|
||||||
else
|
else
|
||||||
echo " MISMATCH — this branch is NOT what is running."
|
echo " MISMATCH — this branch is NOT what is running."
|
||||||
git fetch origin master --quiet 2> /dev/null
|
git fetch origin master --quiet 2> /dev/null
|
||||||
|
|||||||
@@ -4,10 +4,13 @@
|
|||||||
# rather than implying the build was checked.
|
# rather than implying the build was checked.
|
||||||
#
|
#
|
||||||
# --vs-master re-lints each changed file at origin/master and prints only findings your diff
|
# --vs-master re-lints each changed file at origin/master and prints only findings your diff
|
||||||
# ADDED. Without it you will chase warnings that were already in the file.
|
# ADDED, and fails if there are any. Without it you will chase warnings that were already there.
|
||||||
#
|
#
|
||||||
# Usage: validate.sh [addon-dir] [--vs-master]
|
# Usage: validate.sh [addon-dir] [--vs-master]
|
||||||
set -uo pipefail
|
set -uo pipefail
|
||||||
|
# git diff prints repo-root-relative paths and $ADDON is a top-level directory name: neither
|
||||||
|
# resolves from a subdirectory, where the -f guard below would skip every file and report clean.
|
||||||
|
if root=$(git rev-parse --show-toplevel 2> /dev/null); then cd "$root" || exit 1; fi
|
||||||
|
|
||||||
ADDON="${1:-}"
|
ADDON="${1:-}"
|
||||||
[ "${ADDON:-}" = "--vs-master" ] && { ADDON=""; set -- --vs-master; }
|
[ "${ADDON:-}" = "--vs-master" ] && { ADDON=""; set -- --vs-master; }
|
||||||
@@ -31,17 +34,21 @@ echo "== validating $ADDON =="
|
|||||||
|
|
||||||
fail=0
|
fail=0
|
||||||
note() { printf ' %-13s %s\n' "$1" "$2"; }
|
note() { printf ' %-13s %s\n' "$1" "$2"; }
|
||||||
|
# execline `run`/`finish` files are not shell (25 of them here, across 21 add-ons). Neither
|
||||||
|
# linter below can read one, so anything either says about it is noise.
|
||||||
|
is_execline() { local l; IFS= read -r l < "$1" 2> /dev/null; [[ $l == '#!'*execlineb* ]]; }
|
||||||
|
|
||||||
# Shell: bash -n then shellcheck -x (follows sourced files, as CI does).
|
# Shell: bash -n then shellcheck -x (follows sourced files, as CI does). One list for both.
|
||||||
while IFS= read -r f; do
|
files=()
|
||||||
[ -f "$f" ] || continue
|
while IFS= read -r f; do is_execline "$f" || files+=("$f"); done \
|
||||||
|
< <(find "$ADDON" -type f \( -name '*.sh' -o -name 'run' -o -name 'finish' -o -name 'autostart' \) 2> /dev/null)
|
||||||
|
for f in "${files[@]}"; do
|
||||||
if ! out=$(bash -n "$f" 2>&1); then note "bash -n" "FAIL $f"; echo "$out" | sed 's/^/ /'; fail=1; fi
|
if ! out=$(bash -n "$f" 2>&1); then note "bash -n" "FAIL $f"; echo "$out" | sed 's/^/ /'; fail=1; fi
|
||||||
done < <(find "$ADDON" -type f \( -name '*.sh' -o -name 'run' -o -name 'finish' -o -name 'autostart' \) 2> /dev/null)
|
done
|
||||||
[ "$fail" -eq 0 ] && note "bash -n" "ok"
|
[ "$fail" -eq 0 ] && note "bash -n" "${#files[@]} file(s) checked"
|
||||||
|
|
||||||
if command -v shellcheck > /dev/null 2>&1; then
|
if [ "${#files[@]}" -gt 0 ] && command -v shellcheck > /dev/null 2>&1; then
|
||||||
sc=$(find "$ADDON" -type f \( -name '*.sh' -o -name 'autostart' -o -name 'run' -o -name 'finish' \) -print0 2> /dev/null |
|
sc=$(shellcheck -x -f gcc "${files[@]}" 2>&1)
|
||||||
xargs -0 -r shellcheck -x -f gcc 2>&1)
|
|
||||||
if [ -n "$sc" ]; then
|
if [ -n "$sc" ]; then
|
||||||
note "shellcheck" "$(printf '%s\n' "$sc" | grep -c .) finding(s)"
|
note "shellcheck" "$(printf '%s\n' "$sc" | grep -c .) finding(s)"
|
||||||
printf '%s\n' "$sc" | sed 's/^/ /' | head -20
|
printf '%s\n' "$sc" | sed 's/^/ /' | head -20
|
||||||
@@ -50,7 +57,10 @@ fi
|
|||||||
|
|
||||||
command -v hadolint > /dev/null 2>&1 && [ -f "$ADDON/Dockerfile" ] && {
|
command -v hadolint > /dev/null 2>&1 && [ -f "$ADDON/Dockerfile" ] && {
|
||||||
hl=$(hadolint "$ADDON/Dockerfile" 2>&1)
|
hl=$(hadolint "$ADDON/Dockerfile" 2>&1)
|
||||||
[ -n "$hl" ] && { note "hadolint" "$(printf '%s\n' "$hl" | grep -c .) finding(s)"; printf '%s\n' "$hl" | sed 's/^/ /' | head -10; } || note "hadolint" "clean"
|
if [ -n "$hl" ]; then
|
||||||
|
note "hadolint" "$(printf '%s\n' "$hl" | grep -c .) finding(s)"
|
||||||
|
printf '%s\n' "$hl" | sed 's/^/ /' | head -10
|
||||||
|
else note "hadolint" "clean"; fi
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -f "$ADDON/config.yaml" ]; then
|
if [ -f "$ADDON/config.yaml" ]; then
|
||||||
@@ -79,11 +89,14 @@ $VS_MASTER && command -v npx > /dev/null 2>&1 && [ -f "$ADDON/CHANGELOG.md" ] &&
|
|||||||
|
|
||||||
echo
|
echo
|
||||||
echo "== CI requirements =="
|
echo "== CI requirements =="
|
||||||
if git diff --name-only origin/master...HEAD 2> /dev/null | grep -q "$ADDON/CHANGELOG.md"; then
|
# -Fxq, not -q: unanchored, seerr's is matched by zzz_archived_overseerr's, and . is a wildcard.
|
||||||
|
# Stricter than the gate itself, whose quoted =~ accepts that same collision
|
||||||
|
# (onpr_check-pr.yaml:75), so this can fail where CI passes — the wrong add-on's is still wrong.
|
||||||
|
if git diff --name-only origin/master...HEAD 2> /dev/null | grep -Fxq "$ADDON/CHANGELOG.md"; then
|
||||||
note "CHANGELOG" "updated"
|
note "CHANGELOG" "updated"
|
||||||
else
|
else
|
||||||
# This one IS gated: onpr_check-pr.yaml exits 1 without it.
|
# This one IS gated: onpr_check-pr.yaml exits 1 without it.
|
||||||
note "CHANGELOG" "NOT UPDATED — this is the one CI hard-gate"; fail=1
|
note "CHANGELOG" "NOT UPDATED for $ADDON — CI hard-gates this"; fail=1
|
||||||
fi
|
fi
|
||||||
if git diff origin/master...HEAD -- "$ADDON/config.yaml" 2> /dev/null | grep -q '^+version:'; then
|
if git diff origin/master...HEAD -- "$ADDON/config.yaml" 2> /dev/null | grep -q '^+version:'; then
|
||||||
note "version" "bumped"
|
note "version" "bumped"
|
||||||
@@ -98,8 +111,15 @@ if $VS_MASTER; then
|
|||||||
echo
|
echo
|
||||||
echo "== findings ADDED by this diff (pre-existing ones filtered out) =="
|
echo "== findings ADDED by this diff (pre-existing ones filtered out) =="
|
||||||
tmp=$(mktemp -d); trap 'rm -rf "$tmp"' EXIT
|
tmp=$(mktemp -d); trap 'rm -rf "$tmp"' EXIT
|
||||||
git diff --name-only origin/master...HEAD -- "$ADDON" 2> /dev/null | while IFS= read -r f; do
|
added=0
|
||||||
git show "origin/master:$f" > "$tmp/base" 2> /dev/null || continue
|
# Fed by process substitution, not a pipe: a pipeline runs this in a subshell, where the
|
||||||
|
# findings below could never reach $fail and the verdict would contradict the list.
|
||||||
|
while IFS= read -r f; do
|
||||||
|
# Deleted: linting the path that is gone invents a finding. Added: no base, and an
|
||||||
|
# empty one says the right thing — every finding in it is one this diff added.
|
||||||
|
[ -f "$f" ] || continue
|
||||||
|
is_execline "$f" && continue
|
||||||
|
git show "origin/master:$f" > "$tmp/base" 2> /dev/null || : > "$tmp/base"
|
||||||
# A missing linter must be a visible skip, not a silent "no new findings":
|
# A missing linter must be a visible skip, not a silent "no new findings":
|
||||||
# its "command not found" error is identical for base and head, so comm would
|
# its "command not found" error is identical for base and head, so comm would
|
||||||
# cancel it out and report a false clean.
|
# cancel it out and report a false clean.
|
||||||
@@ -115,12 +135,16 @@ if $VS_MASTER; then
|
|||||||
cmd() { hadolint "$1" 2>&1 | sed 's/^[^:]*//; s/^:[0-9]*//'; } ;;
|
cmd() { hadolint "$1" 2>&1 | sed 's/^[^:]*//; s/^:[0-9]*//'; } ;;
|
||||||
*) continue ;;
|
*) continue ;;
|
||||||
esac
|
esac
|
||||||
cp "$tmp/base" "$tmp/base_f"; b=$(cmd "$tmp/base_f" | sort)
|
b=$(cmd "$tmp/base" | sort)
|
||||||
a=$(cmd "$f" | sort)
|
a=$(cmd "$f" | sort)
|
||||||
new=$(comm -13 <(printf '%s\n' "$b") <(printf '%s\n' "$a") | grep -c .)
|
new=$(comm -13 <(printf '%s\n' "$b") <(printf '%s\n' "$a"))
|
||||||
[ "$new" -gt 0 ] && { echo " $f: $new NEW finding(s)"; comm -13 <(printf '%s\n' "$b") <(printf '%s\n' "$a") | sed 's/^/ /' | head -5; }
|
[ -n "$new" ] && {
|
||||||
done
|
echo " $f: $(printf '%s\n' "$new" | grep -c .) NEW finding(s)"
|
||||||
echo " (nothing listed above = your diff introduced no new lint findings)"
|
printf '%s\n' "$new" | sed 's/^/ /' | head -5
|
||||||
|
added=1; fail=1
|
||||||
|
}
|
||||||
|
done < <(git diff --name-only origin/master...HEAD -- "$ADDON" 2> /dev/null)
|
||||||
|
[ "$added" -eq 0 ] && echo " (none — this diff introduced no new lint findings)"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|||||||
2
.github/workflows/daily_README.yaml
vendored
2
.github/workflows/daily_README.yaml
vendored
@@ -228,7 +228,7 @@ jobs:
|
|||||||
echo "... done"
|
echo "... done"
|
||||||
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "GitHub bot : README updated"
|
message: "GitHub bot : README updated"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|||||||
2
.github/workflows/daily_ai_fix.yaml
vendored
2
.github/workflows/daily_ai_fix.yaml
vendored
@@ -125,7 +125,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Analyse and fix
|
- name: Analyse and fix
|
||||||
if: steps.batch.outputs.count != '0'
|
if: steps.batch.outputs.count != '0'
|
||||||
uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1
|
uses: anthropics/claude-code-action@dcb57747bfceeaa1fa72638cae52295d1d853d4a # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
# Skip the OIDC -> Claude App token exchange. The scheduled path
|
# Skip the OIDC -> Claude App token exchange. The scheduled path
|
||||||
|
|||||||
2
.github/workflows/helper_stats_graphs.yaml
vendored
2
.github/workflows/helper_stats_graphs.yaml
vendored
@@ -237,7 +237,7 @@ jobs:
|
|||||||
# Get stars evolution
|
# Get stars evolution
|
||||||
wget -S -O .github/starsevol.svg "https://api.star-history.com/svg?repos=alexbelgium/hassio-addons&type=Date" || true
|
wget -S -O .github/starsevol.svg "https://api.star-history.com/svg?repos=alexbelgium/hassio-addons&type=Date" || true
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "GitHub bot : graphs updated"
|
message: "GitHub bot : graphs updated"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|||||||
2
.github/workflows/on_claude_mention.yml
vendored
2
.github/workflows/on_claude_mention.yml
vendored
@@ -64,7 +64,7 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
|
|
||||||
- name: Run Claude Code
|
- name: Run Claude Code
|
||||||
uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1
|
uses: anthropics/claude-code-action@dcb57747bfceeaa1fa72638cae52295d1d853d4a # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
# AI_PR_TOKEN, not GITHUB_TOKEN, so a PR Claude opens triggers CI.
|
# AI_PR_TOKEN, not GITHUB_TOKEN, so a PR Claude opens triggers CI.
|
||||||
|
|||||||
2
.github/workflows/on_issue_approved.yaml
vendored
2
.github/workflows/on_issue_approved.yaml
vendored
@@ -135,7 +135,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Execute the plan
|
- name: Execute the plan
|
||||||
if: steps.bundle.outputs.has_plan == 'true'
|
if: steps.bundle.outputs.has_plan == 'true'
|
||||||
uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1
|
uses: anthropics/claude-code-action@dcb57747bfceeaa1fa72638cae52295d1d853d4a # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
# Skip the OIDC -> Claude App token exchange, which 401s whenever
|
# Skip the OIDC -> Claude App token exchange, which 401s whenever
|
||||||
|
|||||||
2
.github/workflows/on_issues.yml
vendored
2
.github/workflows/on_issues.yml
vendored
@@ -59,7 +59,7 @@ jobs:
|
|||||||
# Remove issues list
|
# Remove issues list
|
||||||
rm issueslist
|
rm issueslist
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "Github bot : issues linked to readme"
|
message: "Github bot : issues linked to readme"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|||||||
2
.github/workflows/on_issues_ai_triage.yaml
vendored
2
.github/workflows/on_issues_ai_triage.yaml
vendored
@@ -166,7 +166,7 @@ jobs:
|
|||||||
id: classify
|
id: classify
|
||||||
if: github.event_name != 'issue_comment' || steps.claim.outputs.go == 'true'
|
if: github.event_name != 'issue_comment' || steps.claim.outputs.go == 'true'
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1
|
uses: anthropics/claude-code-action@dcb57747bfceeaa1fa72638cae52295d1d853d4a # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
# Without this the action falls back to the OIDC -> Claude App token
|
# Without this the action falls back to the OIDC -> Claude App token
|
||||||
|
|||||||
2
.github/workflows/on_pr_coderabbit.yml
vendored
2
.github/workflows/on_pr_coderabbit.yml
vendored
@@ -79,7 +79,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Address CodeRabbit comments
|
- name: Address CodeRabbit comments
|
||||||
if: steps.claim.outputs.go == 'true'
|
if: steps.claim.outputs.go == 'true'
|
||||||
uses: anthropics/claude-code-action@9d7150bc8a3dae8149739a88019d192b579ad90c # v1
|
uses: anthropics/claude-code-action@dcb57747bfceeaa1fa72638cae52295d1d853d4a # v1
|
||||||
with:
|
with:
|
||||||
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
|
||||||
# Skip the OIDC -> Claude App token exchange, which 401s whenever
|
# Skip the OIDC -> Claude App token exchange, which 401s whenever
|
||||||
|
|||||||
4
.github/workflows/onpush_builder.yaml
vendored
4
.github/workflows/onpush_builder.yaml
vendored
@@ -95,7 +95,7 @@ jobs:
|
|||||||
- name: Commit sanitize changes
|
- name: Commit sanitize changes
|
||||||
id: sanitize_commit
|
id: sanitize_commit
|
||||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
commit: -u
|
commit: -u
|
||||||
message: "GitHub bot: sanitize (spaces + LF endings) & chmod [nobuild]"
|
message: "GitHub bot: sanitize (spaces + LF endings) & chmod [nobuild]"
|
||||||
@@ -410,7 +410,7 @@ jobs:
|
|||||||
done
|
done
|
||||||
|
|
||||||
- name: Commit changelog changes
|
- name: Commit changelog changes
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
commit: -u
|
commit: -u
|
||||||
message: "GitHub bot: changelog [nobuild]"
|
message: "GitHub bot: changelog [nobuild]"
|
||||||
|
|||||||
4
.github/workflows/weekly_crlftolf.yaml
vendored
4
.github/workflows/weekly_crlftolf.yaml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
uses: erclu/check-crlf@v1
|
uses: erclu/check-crlf@v1
|
||||||
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "Github bot : CRLF corrected"
|
message: "Github bot : CRLF corrected"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
dos2unix -k "$f"
|
dos2unix -k "$f"
|
||||||
done
|
done
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "Github bot : CRLF corrected"
|
message: "Github bot : CRLF corrected"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|||||||
2
.github/workflows/weekly_reduceimagesize.yml
vendored
2
.github/workflows/weekly_reduceimagesize.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
if: steps.calibre.outputs.markdown != ''
|
if: steps.calibre.outputs.markdown != ''
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
message: "Github bot : image compressed"
|
message: "Github bot : image compressed"
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
|
|||||||
2
.github/workflows/weekly_stats.yaml
vendored
2
.github/workflows/weekly_stats.yaml
vendored
@@ -109,7 +109,7 @@ jobs:
|
|||||||
#TOTAL3="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
#TOTAL3="$(awk '{SUM+=$2}END{print SUM}' Stats)"
|
||||||
|
|
||||||
- name: Commit if needed
|
- name: Commit if needed
|
||||||
uses: EndBug/add-and-commit@v11.0.0
|
uses: EndBug/add-and-commit@v11.1.1
|
||||||
with:
|
with:
|
||||||
default_author: github_actions
|
default_author: github_actions
|
||||||
message : "Github bot : stats updated"
|
message : "Github bot : stats updated"
|
||||||
|
|||||||
Reference in New Issue
Block a user