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 committed by Igor Pecovnik
parent 0fe5be9077
commit 39ce1a480f
No known key found for this signature in database
GPG Key ID: AC67DF56D680226A

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.