mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Rename .github workflow autoblack -> linters, add Shellcheck linter
This commit is contained in:
parent
b8c47886a5
commit
32b9fcbc48
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
name: Check / auto apply Black
|
name: Check / auto apply Black, Shellcheck
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
@ -33,3 +33,13 @@ jobs:
|
||||||
This pull request uses the [psf/black](https://github.com/psf/black) formatter.
|
This pull request uses the [psf/black](https://github.com/psf/black) formatter.
|
||||||
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
|
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch
|
||||||
branch: actions/black
|
branch: actions/black
|
||||||
|
|
||||||
|
shellcheck:
|
||||||
|
name: Shellcheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
- name: Run ShellCheck
|
||||||
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
with:
|
||||||
|
additional_files: 'ynh-dev'
|
Loading…
Add table
Reference in a new issue