ci: yaml lint check
Some checks failed
/ sast (push) Failing after 26s

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

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

@ -0,0 +1,11 @@
on:
push:
jobs:
sast:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- 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: prSections:
- title: WIP - title: WIP
filters: is:open author:@me -org:tophatmonocle filters: is:open author:@me -org:tophatmonocle
- title: Needs My Review - title: Needs My Review
filters: is:open review-requested:@me -org:tophatmonocle filters: is:open review-requested:@me -org:tophatmonocle
- title: Involved - title: Involved
filters: is:open involves:@me -author:@me -org:tophatmonocle filters: is:open involves:@me -author:@me -org:tophatmonocle
issuesSections: issuesSections:
- title: My Issues - title: My Issues
filters: is:open author:@me filters: is:open author:@me
- title: Assigned - title: Assigned
filters: is:open assignee:@me filters: is:open assignee:@me
- title: Involved - title: Involved
filters: is:open involves:@me -author:@me filters: is:open involves:@me -author:@me
defaults: defaults:
preview: preview:
open: true open: true

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: