mirror of
https://github.com/envmodules/modules.git
synced 2026-05-30 00:12:31 +08:00
It performs differential ShellCheck scans and report results directly in pull request. documentation: https://github.com/redhat-plumbers-in-action/differential-shellcheck
30 lines
588 B
YAML
30 lines
588 B
YAML
---
|
|
# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme
|
|
|
|
name: Differential ShellCheck
|
|
on:
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
|
|
permissions:
|
|
security-events: write
|
|
pull-requests: write
|
|
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Differential ShellCheck
|
|
uses: redhat-plumbers-in-action/differential-shellcheck@v3
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|