This commit is contained in:
Michael Grote 2024-09-13 18:17:59 +02:00
parent add4ebe512
commit 8ae1c0ec9f
3 changed files with 31 additions and 33 deletions

View file

@ -1,17 +0,0 @@
name: ansible-lint
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ansible-lint
uses: ansible/ansible-lint@main
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt

31
.gitea/workflows/ci.yaml Normal file
View file

@ -0,0 +1,31 @@
name: ansible-lint
on:
workflow_dispatch:
push:
branches: [ master ]
pull_request:
jobs:
ansible-lint:
name: Ansible Lint
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Run Gitleaks
uses: docker://zricethezav/gitleaks:v8.18.4
options: --entrypoint ansible-lint
with:
args: --force-color --format pep8 --show-relpath
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 }}
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt

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 }}