actions: Don't run shellcheck if PR message or title was updated

Also fix typos.
This commit is contained in:
ColorfulRhino
2024-06-08 12:44:49 +02:00
parent 5d7637ca0e
commit ce73634bf6

View File

@@ -1,12 +1,12 @@
name: Lint On Scripts
name: Lint on Scripts
#
# Run ShellCheck on all scripts and generates report as build artefact
# Run ShellCheck on all scripts and generate report as build artifact
#
on:
workflow_dispatch:
pull_request:
types: [opened, reopened, edited, synchronize]
types: [opened, reopened, synchronize]
permissions:
contents: read
@@ -36,7 +36,7 @@ jobs:
- name: List all changed files
run: |
# use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
# Use framework internal mechanism for checking `lib` and `extensions` code only one file is passed,
# and source's are followed, thus the whole project is "understood" by shellcheck.
# For example, when checking individual files, one variable might be thought "unused" because it
# is only used in another file, which does not happen when done properly.