-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
|
||
on: # yamllint disable-line rule:truthy | ||
workflow_call: | ||
inputs: | ||
os: | ||
description: The operating system to run the workflow on | ||
required: true | ||
type: string | ||
default: ubuntu-latest | ||
severity: | ||
description: Severity level for shell-check | ||
required: false | ||
type: string | ||
default: warning | ||
secrets: | ||
token: | ||
description: Github token used to run this workflow | ||
required: true | ||
type: string | ||
|
||
name: 🐞 Differential shell-check | ||
|
||
jobs: | ||
shellcheck: | ||
runs-on: ${{ inputs.os }} | ||
steps: | ||
- name: 📦 Check out the codebase | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🐞 Differential shell-check | ||
uses: redhat-plumbers-in-action/differential-shellcheck@v4 | ||
with: | ||
severity: ${{ inputs.severity }} | ||
token: ${{ secrets.token }} | ||
|
||
... |