Skip to content

Commit

Permalink
CI: Run ShellCheck on all pushes and all PRs (#1075)
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic2kk authored Mar 23, 2024
1 parent f691c55 commit bbe7d56
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
on:
push:
branches:
- master
paths:
- 'steamtinkerlaunch'
pull_request:
types: [ labeled ]
paths:
- 'steamtinkerlaunch'

Expand All @@ -14,13 +11,11 @@ permissions: {}

jobs:
shellcheck:
if: ${{ (github.event_name == 'pull_request' && github.event.label.name == 'shellcheck') || (github.event_name == 'push' && github.ref == 'refs/heads/master') }}
name: Shellcheck
name: ShellCheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run ShellCheck
uses: ludeeus/action-shellcheck@master
with:
version: v0.10.0
SHELLCHECK_OPTS: --extended-analysis=false

0 comments on commit bbe7d56

Please sign in to comment.