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,17 +1,18 @@
---
prSections:
- title: WIP
filters: is:open author:@me -org:tophatmonocle
- title: Needs My Review
filters: is:open review-requested:@me -org:tophatmonocle
- title: Involved
filters: is:open involves:@me -author:@me -org:tophatmonocle
- title: WIP
filters: is:open author:@me -org:tophatmonocle
- title: Needs My Review
filters: is:open review-requested:@me -org:tophatmonocle
- title: Involved
filters: is:open involves:@me -author:@me -org:tophatmonocle
issuesSections:
- title: My Issues
filters: is:open author:@me
- title: Assigned
filters: is:open assignee:@me
- title: Involved
filters: is:open involves:@me -author:@me
- title: My Issues
filters: is:open author:@me
- title: Assigned
filters: is:open assignee:@me
- title: Involved
filters: is:open involves:@me -author:@me
defaults:
preview:
open: true

View file

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