Add `actionlint` with `pre-commit`: a static checker for GitHub Actions workflow files
- Lingua principale
- Java
- Stelle
- 3.1k
- Fork
- 1.4k
- Merge medio
- 6g 19h
- PR unite (30g)
- 32
Descrizione
[actionlint](https://github.com/rhysd/actionlint) is a static checker for GitHub Actions workflow files
Check out the actionlint playground:
https://rhysd.github.io/actionlint/
https://github.com/rhysd/actionlint/blob/v1.7.7/docs/usage.md#pre-commit
```
repos:
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
```
So the hook will need to be added to the pre-commit config and then all the `actionlint` lint errors will need fixing
The next document describes all checks done by actionlint with example inputs, outputs, and playground links:
https://github.com/rhysd/actionlint/blob/v1.7.7/docs/checks.md
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia dalla configurazione di pre-commit e dai file di workflow di GitHub Actions. Leggi la documentazione sull’uso e sui controlli di actionlint, quindi esegui il checker per identificare gli errori di lint esistenti. Il lavoro è completato quando l’hook di actionlint è configurato e tutti gli errori di workflow segnalati sono stati corretti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- github-actions
- Ambito
- ci-cd, tooling
- Tipo di issue
- Refactoring
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 45/100