Compare commits

..
Author SHA1 Message Date
dependabot[bot] 65f81ff7cd build(deps): bump actions/checkout from 4 to 7
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-13 13:45:13 +00:00
3 changed files with 8 additions and 28 deletions

No files matched your search

+3 -4
View File
@@ -17,7 +17,7 @@ jobs:
name: Frontend name: Frontend
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 22 node-version: 22
@@ -30,7 +30,7 @@ jobs:
name: Go backend name: Go backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- uses: actions/setup-go@v5 - uses: actions/setup-go@v5
with: with:
go-version-file: go.mod go-version-file: go.mod
@@ -43,13 +43,12 @@ jobs:
name: Appliance bundle name: Appliance bundle
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- name: Validate server script syntax - name: Validate server script syntax
run: | run: |
bash -n scripts/install-server.sh bash -n scripts/install-server.sh
bash -n scripts/uninstall-server.sh bash -n scripts/uninstall-server.sh
sh -n deploy/certbot/deploy-hook.sh sh -n deploy/certbot/deploy-hook.sh
bash -c 'source scripts/uninstall-server.sh; ASSUME_YES=true; choose_optional_cleanup; PURGE_PACKAGES=false; purge_host_packages; REMOVE_BUNDLE=false; remove_bundle_checkout'
- name: Validate Compose configuration - name: Validate Compose configuration
env: env:
MAIL_HOSTNAME: mail.example.com MAIL_HOSTNAME: mail.example.com
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
review: review:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v7
- uses: actions/dependency-review-action@v4 - uses: actions/dependency-review-action@v4
with: with:
fail-on-severity: high fail-on-severity: high
+4 -23
View File
@@ -36,14 +36,6 @@ REMOVE_BUNDLE=false
KEEP_CERTIFICATE=false KEEP_CERTIFICATE=false
FAILURES=0 FAILURES=0
unexpected_error() {
local status=$?
printf '\n\033[1;31mERROR:\033[0m uninstall stopped unexpectedly near line %s (exit %d).\n' \
"${BASH_LINENO[0]:-unknown}" "$status" >&2
exit "$status"
}
trap unexpected_error ERR
log() { log() {
printf '\n\033[1;35m==>\033[0m %s\n' "$*" printf '\n\033[1;35m==>\033[0m %s\n' "$*"
} }
@@ -178,17 +170,12 @@ choose_optional_cleanup() {
if ! $PURGE_PACKAGES; then if ! $PURGE_PACKAGES; then
printf '\nDocker, Nginx, and Certbot may be shared with other services.\n' printf '\nDocker, Nginx, and Certbot may be shared with other services.\n'
read -r -p "Also purge their APT packages and Docker APT source? [y/N] " answer read -r -p "Also purge their APT packages and Docker APT source? [y/N] " answer
if [[ "$answer" =~ ^[Yy]$ ]]; then [[ "$answer" =~ ^[Yy]$ ]] && PURGE_PACKAGES=true
PURGE_PACKAGES=true
fi
fi fi
if ! $REMOVE_BUNDLE; then if ! $REMOVE_BUNDLE; then
read -r -p "Also delete the repository directory $BUNDLE_DIR? [y/N] " answer read -r -p "Also delete the repository directory $BUNDLE_DIR? [y/N] " answer
if [[ "$answer" =~ ^[Yy]$ ]]; then [[ "$answer" =~ ^[Yy]$ ]] && REMOVE_BUNDLE=true
REMOVE_BUNDLE=true
fi fi
fi
return 0
} }
confirm_uninstall() { confirm_uninstall() {
@@ -324,9 +311,7 @@ remove_local_state() {
} }
purge_host_packages() { purge_host_packages() {
if ! $PURGE_PACKAGES; then $PURGE_PACKAGES || return
return 0
fi
command -v apt-get >/dev/null 2>&1 || { command -v apt-get >/dev/null 2>&1 || {
record_failure "APT is unavailable; requested host packages were not purged" record_failure "APT is unavailable; requested host packages were not purged"
return return
@@ -352,9 +337,7 @@ purge_host_packages() {
} }
remove_bundle_checkout() { remove_bundle_checkout() {
if ! $REMOVE_BUNDLE; then $REMOVE_BUNDLE || return
return 0
fi
case "$BUNDLE_DIR" in case "$BUNDLE_DIR" in
/|/bin|/boot|/dev|/etc|/home|/opt|/root|/srv|/tmp|/usr|/var) /|/bin|/boot|/dev|/etc|/home|/opt|/root|/srv|/tmp|/usr|/var)
record_failure "refusing to delete unsafe bundle path $BUNDLE_DIR" record_failure "refusing to delete unsafe bundle path $BUNDLE_DIR"
@@ -398,6 +381,4 @@ $([[ "$PURGE_PACKAGES" == false ]] && printf 'Docker, Nginx, and Certbot package
EOF EOF
} }
if [[ "${BASH_SOURCE[0]}" == "$0" ]]; then
main "$@" main "$@"
fi