Skip to content

Commit

Permalink
Add action scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
igorpecovnik committed Dec 6, 2023
1 parent 9389784 commit 677608c
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/debian.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Debian package
#
# Description
#

on:
workflow_dispatch:
push:
branches:
- main

jobs:

Debian:
uses: armbian/scripts/.github/workflows/pack-debian.yml@master
with:
matrix: "all:jammy"
maintainer: "Igor Pecovnik <[email protected]>"
package: "configng"
licence: "GPL 2.0"
homepage: "https://www.armbian.com"
section: "default"
priority: "optional"
depends: ""
description: "Configng"

secrets:
GPG_PRIVATE_KEY: ${{ secrets.GPG_KEY1 }}
PASSPHRASE: ${{ secrets.GPG_PASSPHRASE1 }}
SSH_KEY_TORRENTS: ${{ secrets.KEY_TORRENTS }}
KNOWN_HOSTS_UPLOAD: ${{ secrets.KNOWN_HOSTS_TORRENTS }}
26 changes: 26 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Lint scripts

on:
workflow_dispatch:
pull_request:

jobs:

Shellcheck:

name: Shell script analysis
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'Armbian' }}
steps:

- name: Checkout repository
uses: actions/checkout@v3

- name: Environment variables
run: sudo -E bash -c set

- name: "Shellcheck lint error report in diff format"
shell: bash {0}
run: |
for file in $(find . -type f -executable ! -path '*/.git*/*' -exec grep -Iq . {} \; -print); do shellcheck -x $file; done

0 comments on commit 677608c

Please sign in to comment.