From f48572d932287b2fa93200b54273d12b2df66131 Mon Sep 17 00:00:00 2001 From: Ivan Kirchev Date: Thu, 23 Feb 2023 18:55:19 +0200 Subject: [PATCH] prevent megalinter commits - also applied modified sources from megalinter - bumped up dependecies to get rid of warnings Signed-off-by: Ivan Kirchev --- .github/workflows/lint.yml | 4 ++-- .github/workflows/release.yml | 7 ++++--- .github/workflows/scripts/install-ci-tooling.sh | 1 - .github/workflows/seat_service_release.yml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c4fd92c..6b596aa 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,8 +10,8 @@ on: env: # Comment env block if you do not want to apply fixes # Apply linter fixes configuration - APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool) - APPLY_FIXES_EVENT: all # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all) + # APPLY_FIXES: all # When active, APPLY_FIXES must also be defined as environment variable (in github/workflows/mega-linter.yml or other CI tool) + APPLY_FIXES_EVENT: none # Decide which event triggers application of fixes in a commit or a PR (pull_request, push, all) APPLY_FIXES_MODE: commit # If APPLY_FIXES is used, defines if the fixes are directly committed (commit) or posted in a PR (pull_request) DEFAULT_BRANCH: main #TODO: Enable the following DOCKERFILE_DOCKERFILELINT, DOCKERFILE_HADOLINT, ACTION_ACTIONLINT diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c088e38..d7cbd5d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -39,7 +39,8 @@ jobs: uses: actions/checkout@v3 - name: Get the version id: get_version - run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + #run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} + run: echo "VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT - name: Download all artifacts uses: actions/download-artifact@v3 @@ -63,7 +64,7 @@ jobs: steps: - id: repository-name-adjusted name: Prepare repository name in lower case for docker upload. This supports repository names in mixed case - uses: ASzc/change-string-case-action@v2 + uses: ASzc/change-string-case-action@v5 with: string: ${{ github.repository }} @@ -102,7 +103,7 @@ jobs: steps: - id: repository-name-adjusted name: Prepare repository name in lower case for docker upload. This supports repository names in mixed case - uses: ASzc/change-string-case-action@v2 + uses: ASzc/change-string-case-action@v5 with: string: ${{ github.repository }} diff --git a/.github/workflows/scripts/install-ci-tooling.sh b/.github/workflows/scripts/install-ci-tooling.sh index add1843..70082e7 100755 --- a/.github/workflows/scripts/install-ci-tooling.sh +++ b/.github/workflows/scripts/install-ci-tooling.sh @@ -40,7 +40,6 @@ sudo apt-get -qqy install \ cppcheck \ valgrind - # Install PIP [ -z "$(which pip3)" ] && sudo apt-get -qqy install --fix-missing python3-pip diff --git a/.github/workflows/seat_service_release.yml b/.github/workflows/seat_service_release.yml index e471663..21fe916 100644 --- a/.github/workflows/seat_service_release.yml +++ b/.github/workflows/seat_service_release.yml @@ -88,12 +88,12 @@ jobs: - id: repository-name-adjusted name: Make repository name in lower case for docker upload. - uses: ASzc/change-string-case-action@v2 + uses: ASzc/change-string-case-action@v5 with: string: ${{ github.repository }} - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 - name: "Build seat service image" id: image_build