Skip to content

Commit

Permalink
GitHub: Changes the bash/sh linting workflow to allow it to be requir…
Browse files Browse the repository at this point in the history
…ed. (awsdocs#6158)
  • Loading branch information
beqqrry-aws authored and meyertst-aws committed Feb 28, 2024
1 parent b71592b commit 95246b1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/sh-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
name: Lint Bash

on:
pull_request: # This action does not use the paths option.
pull_request:
workflow_dispatch:

jobs:
sh-checker:
name: Lint Bash
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout files
uses: actions/checkout@v4
with:
sparse-checkout: |
.github
aws-cli
- name: Lint Bash
uses: luizm/action-sh-checker@master
env:
Expand Down

0 comments on commit 95246b1

Please sign in to comment.