ci: yaml lint check
All checks were successful
/ sast (push) Successful in 49s

This commit is contained in:
Marc 2024-07-27 09:57:40 -04:00
parent af064121c4
commit 58358746d2
Signed by: marc
GPG key ID: 048E042F22B5DC79
4 changed files with 36 additions and 15 deletions

12
.forgejo/workflows/ci.yml Normal file
View file

@ -0,0 +1,12 @@
on:
push:
jobs:
sast:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- run: |
pip install pipx
pipx run yamllint .

8
.yamllint.yml Normal file
View file

@ -0,0 +1,8 @@
---
extends: default
rules:
line-length:
max: 120
level: warning

View file

@ -1,3 +1,4 @@
---
prSections: prSections:
- title: WIP - title: WIP
filters: is:open author:@me -org:tophatmonocle filters: is:open author:@me -org:tophatmonocle

View file

@ -4,10 +4,10 @@
tasks: tasks:
- name: Ensure system up-to-date - name: Ensure system up-to-date
become: yes become: true
apt: apt:
update-cache: yes update_cache: true
upgrade: yes upgrade: "yes"
- name: Install terminal & shell - name: Install terminal & shell
apt: apt:
pkg: pkg: