ci: fix ansible-lint #178

Merged
mg merged 18 commits from al into master 2024-09-13 19:31:39 +02:00
3 changed files with 31 additions and 33 deletions
Showing only changes of commit 8ae1c0ec9f - Show all commits

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