Skip to content

Commit

Permalink
PADD v3.11.1 (#355)
Browse files Browse the repository at this point in the history
  • Loading branch information
yubiuser committed Sep 25, 2023
2 parents 81aeac9 + 70826ce commit fb92108
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codespell.yml
Expand Up @@ -10,7 +10,7 @@ jobs:
steps:
-
name: Checkout repository
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.0
-
name: Spell-Checking
uses: codespell-project/actions-codespell@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/editorconfig-checker.yml
Expand Up @@ -9,6 +9,6 @@ jobs:
name: editorconfig-checker
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.5.2
- uses: actions/checkout@v4.1.0
- uses: editorconfig-checker/action-editorconfig-checker@main # current tag v1.0.0 is really out-of-date
- run: editorconfig-checker
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.4.0
uses: actions/checkout@v4.1.0
- name: Remove 'stale' label
run: gh issue edit ${{ github.event.issue.number }} --remove-label ${{ env.stale_label }}
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-back-to-dev.yml
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Syncing branches
steps:
- name: Checkout
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.0
- name: Opening pull request
run: gh pr create -B development -H master --title 'Sync master back into development' --body 'Created by Github action' --label 'Internal'
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/version_bump.yml
Expand Up @@ -19,7 +19,7 @@ jobs:
echo "latest_tag=$LATEST_TAG" >> $GITHUB_ENV
- name: Checkout code
uses: actions/checkout@v3.5.2
uses: actions/checkout@v4.1.0
with:
ref: 'development'

Expand Down
7 changes: 0 additions & 7 deletions .stickler.yml

This file was deleted.

8 changes: 7 additions & 1 deletion padd.sh
Expand Up @@ -15,7 +15,7 @@ export LC_NUMERIC=C
############################################ VARIABLES #############################################

# VERSION
padd_version="v3.11.0"
padd_version="v3.11.1"

# LastChecks
LastCheckVersionInformation=$(date +%s)
Expand Down Expand Up @@ -160,6 +160,9 @@ GetSystemInformation() {
# System uptime
system_uptime_raw=$(uptime)

# reset $cpu variable
unset cpu

# CPU temperature
if [ -d "/sys/devices/platform/coretemp.0/hwmon/" ]; then
cpu=$(cat "$(find /sys/devices/platform/coretemp.0/hwmon/ -maxdepth 2 -name "temp1_input" 2>/dev/null | head -1)" 2>/dev/null)
Expand Down Expand Up @@ -441,6 +444,9 @@ GetVersionInformation() {
docker_version_converted="$(VersionConverter "${DOCKER_VERSION}")"
docker_version_latest_converted="$(VersionConverter "${GITHUB_DOCKER_VERSION}")"

# Note: the version comparison will fail for any Docker tag not following a 'YYYY.MM.VV' scheme
# e.g. 'nightly', 'beta', 'v6-pre-alpha' and might set a false out_of_date_flag
# As those versions are not meant to be used in production, we ignore this small bug
if [ "${docker_version_converted}" -lt "${docker_version_latest_converted}" ]; then
out_of_date_flag="true"
docker_version_heatmap=${red_text}
Expand Down

0 comments on commit fb92108

Please sign in to comment.