This commit is contained in:
Alexandre
2022-02-18 17:02:10 +01:00
parent 0d1f2f0489
commit d606f29b71
5 changed files with 36 additions and 41 deletions

View File

@@ -1,3 +1,4 @@
# shellcheck disable=SC2157,SC2086
name: Builder
env:
@@ -8,7 +9,7 @@ on:
branches:
- master
paths:
- '**/config.*'
- "**/config.*"
jobs:
check-addon-changes:
@@ -16,7 +17,6 @@ jobs:
outputs:
changedAddons: ${{ steps.filter.outputs.changes }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2

View File

@@ -1,3 +1,4 @@
# shellcheck disable=SC2076,SC2059
name: Check PR Build
on:
pull_request:
@@ -11,7 +12,6 @@ jobs:
changedAddons: ${{ steps.filter.outputs.changes }}
changedChangelogFiles: ${{ steps.changed-files.outputs.changelogs_files }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
@@ -39,7 +39,6 @@ jobs:
matrix:
addon: ${{ fromJSON(needs.check-addon-changes.outputs.changedAddons) }}
steps:
- name: 🔎 Check for updated CHANGELOG.md
shell: bash
run: |
@@ -57,7 +56,6 @@ jobs:
matrix:
addon: ${{ fromJSON(needs.check-addon-changes.outputs.changedAddons) }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
@@ -80,7 +78,6 @@ jobs:
matrix:
addon: ${{ fromJSON(needs.check-addon-changes.outputs.changedAddons) }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
@@ -102,7 +99,6 @@ jobs:
matrix:
addon: ${{ fromJSON(needs.check-addon-changes.outputs.changedAddons) }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2
@@ -121,7 +117,6 @@ jobs:
matrix:
addon: ${{ fromJSON(needs.check-addon-changes.outputs.changedAddons) }}
steps:
- name: ↩️ Checkout
uses: actions/checkout@v2

View File

@@ -1,12 +1,11 @@
# shellcheck disable=SC2043
name: Lint / Syntax checks
on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
workflow_run:
branches: [ master ]
branches: [master]
jobs:
hadolint:
@@ -49,7 +48,6 @@ jobs:
fi
done
markdownlint:
runs-on: ubuntu-latest
steps:

View File

@@ -22,6 +22,7 @@ FROM ${BUILD_FROM}
# 2 Modify Image #
##################
# hadolint ignore=SC2015
RUN \
# Allow UID and GID setting
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \

View File

@@ -32,6 +32,7 @@ ENV \
S6_CMD_WAIT_FOR_SERVICES=1 \
TERM="xterm-256color"
# hadolint ignore=SC2015
RUN \
# Allow UID and GID setting
sed -i 's/bash/bashio/g' /etc/cont-init.d/10-adduser \