mirror of
https://github.com/flatpak/flatpak.git
synced 2025-12-30 19:37:58 -05:00
It performs differential ShellCheck scans and report results directly in pull request. documentation: https://github.com/redhat-plumbers-in-action/differential-shellcheck Signed-off-by: Jan Macku <jamacku@redhat.com>
32 lines
618 B
YAML
32 lines
618 B
YAML
|
|
# Doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#usage
|
|
---
|
|
|
|
name: Differential ShellCheck
|
|
on:
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
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:
|
|
severity: warning
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|