dd
All checks were successful
linter / gitleaks (push) Successful in 3s
linter / hadolint (push) Successful in 3s
linter / shellcheck (push) Successful in 7s

This commit is contained in:
Michael Grote 2024-08-27 21:33:46 +02:00
parent 6469034dfa
commit 79fd167c65
4 changed files with 26 additions and 33 deletions

View file

@ -1,16 +0,0 @@
name: gitleaks
on:
push:
branches: [ master ]
pull_request:
jobs:
gitleaks:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Gitleaks
uses: docker://zricethezav/gitleaks:v8.18.4
with:
args: detect --no-git --verbose --source ${{ github.workspace }}

View file

@ -1,16 +0,0 @@
name: gitleaks
on:
push:
branches: [ master ]
pull_request:
jobs:
hadolint:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run hadolint
uses: docker://pipelinecomponents/hadolint:0.26.4
with:
args: hadolint Dockerfile

View file

@ -1,10 +1,30 @@
name: gitleaks name: linter
on: on:
push: push:
branches: [ master ] branches: [ master ]
pull_request: pull_request:
jobs: jobs:
gitleaks:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Gitleaks
uses: docker://zricethezav/gitleaks:v8.18.4
with:
args: detect --no-git --verbose --source ${{ github.workspace }}
hadolint:
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run hadolint
uses: docker://pipelinecomponents/hadolint:0.26.4
with:
args: hadolint Dockerfile
shellcheck: shellcheck:
steps: steps:
- name: Run shellcheck # https://gitea.com/gitea/act_runner/issues/189 - name: Run shellcheck # https://gitea.com/gitea/act_runner/issues/189

5
shell.sh Normal file
View file

@ -0,0 +1,5 @@
#!/bin/bash
hallo="welt welt"
echo $hallo