ci: fix ansible-lint #178
3 changed files with 31 additions and 33 deletions
|
@ -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
31
.gitea/workflows/ci.yaml
Normal 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
|
|
@ -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 }}
|
|
Loading…
Reference in a new issue