ci: run shellcheck on pull requests #4
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/ci-shellcheck"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Adds
.forgejo/workflows/shellcheck.yml: a Forgejo Actions workflow that lintsforgejoandhooks/pre-commiton every PR (and pushes to PR branches), matching the local pre-commit hook's scope.runs-on: docker(default docker-mode runner label; comment in the file explains what to change if the runner registered a different label)actions/checkout@v4+ apt-installed shellcheck@ -0,0 +11,4 @@# (node:20-bookworm image, apt available). If the job stays pending,# the runner registered a different label — check `forgejo-runner# list-labels` and set it here.runs-on: dockerrun on
ubuntu-latestinsteadditch the comments, they are not helpful
@ -0,0 +1,25 @@# Shellcheck on every PR (and every push to a PR branch).# Job runs from the PR merge ref, so this file is exercised by its own PR.these comments are noise, remove them
@ -0,0 +8,4 @@jobs:shellcheck:# If the job stays pending, the runner registered different labels —# check `forgejo-runner list-labels` and set it here.these comments are noise, remove them