From 39ce1a480f3f7fa76e83ff2a4f02278b1a4859b6 Mon Sep 17 00:00:00 2001 From: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com> Date: Sat, 8 Jun 2024 12:44:49 +0200 Subject: [PATCH] actions: Don't run shellcheck if PR message or title was updated Also fix typos. --- .github/workflows/lint-scripts-pr.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint-scripts-pr.yml b/.github/workflows/lint-scripts-pr.yml index 29b1c3a16a..61de22d448 100644 --- a/.github/workflows/lint-scripts-pr.yml +++ b/.github/workflows/lint-scripts-pr.yml @@ -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.