Add Gitea Actions workflow copy
This commit is contained in:
21
.gitea/workflows/shellcheck.yml
Normal file
21
.gitea/workflows/shellcheck.yml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
name: ShellCheck
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths:
|
||||||
|
- "dotfiles/**/*.sh"
|
||||||
|
- ".github/workflows/shellcheck.yml"
|
||||||
|
pull_request:
|
||||||
|
paths:
|
||||||
|
- "dotfiles/**/*.sh"
|
||||||
|
- ".github/workflows/shellcheck.yml"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Install ShellCheck
|
||||||
|
run: sudo apt-get update && sudo apt-get install -y shellcheck
|
||||||
|
- name: Run ShellCheck
|
||||||
|
run: shellcheck dotfiles/**/*.sh
|
||||||
Reference in New Issue
Block a user