Files
chromebrew/.github/workflows/ShellCheck.yml
Satadru Pramanik, DO, MPH, MEng e0e4e1bc1a Add regenerate_pr label usage to workflow. (#14812)
* Add regenerate_pr label usage to workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust branch detection in workflow and use actions/checkout@v6 in workflows.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust {{ inputs.branch || github.ref_name }} to {{ inputs.branch || github.head_ref || github.ref_name }} to handle invocation of worflows from more types of actions.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2026-02-25 20:49:39 +00:00

21 lines
490 B
YAML

---
name: ShellCheck
on: workflow_call
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
GH_TOKEN: ${{ secrets.CREW_PR_TOKEN }}
jobs:
shellcheck:
runs-on: ubuntu-24.04
permissions:
contents: read
pull-requests: write
steps:
- uses: actions/checkout@v6
- name: ShellCheck
uses: reviewdog/action-shellcheck@v1
with:
exclude: './tools/*'
fail_level: any
reporter: github-pr-review