From f3eedda9444be2b07b2d8cc4b66dbae3a1c53742 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Mon, 21 Mar 2022 15:27:16 +0100 Subject: [PATCH] Add start file for test (#2) --- .github/workflows/debian.yml | 1 + .github/workflows/lint.yml | 11 ++--------- configurator | 2 ++ debian.conf | 2 ++ package-map.conf | 1 - 5 files changed, 7 insertions(+), 10 deletions(-) create mode 100755 configurator create mode 100644 debian.conf delete mode 100644 package-map.conf diff --git a/.github/workflows/debian.yml b/.github/workflows/debian.yml index e3fe16f..959e334 100644 --- a/.github/workflows/debian.yml +++ b/.github/workflows/debian.yml @@ -22,6 +22,7 @@ jobs: section: "default" priority: "optional" description: "Configurator" + secrets: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.PASSPHRASE }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 1661924..4057c70 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -3,7 +3,6 @@ name: Lint scripts on: workflow_dispatch: pull_request: - types: [review_requested, ready_for_review] jobs: @@ -23,11 +22,5 @@ jobs: - name: "Shellcheck lint error report in diff format" shell: bash {0} run: | - (for file in $(find . -type f -exec grep -Iq . {} \; -print); do shellcheck --format=diff $file; done;) 2> /dev/null > lib.diff || true - - name: Upload build artifacts - uses: actions/upload-artifact@v2 - with: - name: Shellcheck - path: "*.diff" - if-no-files-found: ignore - retention-days: 14 + + for file in $(find . -type f -executable ! -path '*/.git*/*' -exec grep -Iq . {} \; -print); do shellcheck -x $file; done diff --git a/configurator b/configurator new file mode 100755 index 0000000..da049c4 --- /dev/null +++ b/configurator @@ -0,0 +1,2 @@ +#!/bin/bash +echo "Hello world" diff --git a/debian.conf b/debian.conf new file mode 100644 index 0000000..8152e20 --- /dev/null +++ b/debian.conf @@ -0,0 +1,2 @@ +LICENSE:/usr/share/doc/configurator/ +configurator:/usr/sbin/ diff --git a/package-map.conf b/package-map.conf deleted file mode 100644 index 0100c61..0000000 --- a/package-map.conf +++ /dev/null @@ -1 +0,0 @@ -LICENSE:/usr/share/doc/configurator/LICENSE