mirror of
https://github.com/systemd/systemd.git
synced 2025-01-05 13:18:06 +03:00
32981c454c
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.6 to 4.1.7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](a5ac7e51b4...692973e3d9
) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> (cherry picked from commit502fbea8c1
) (cherry picked from commit 01721bf2687d417a3620ce72b4598662ba7c7146)
41 lines
1.2 KiB
YAML
41 lines
1.2 KiB
YAML
---
|
|
# https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme
|
|
|
|
name: Differential ShellCheck
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
lint:
|
|
if: github.event.repository.name != 'systemd-security'
|
|
runs-on: ubuntu-24.04
|
|
|
|
permissions:
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Differential ShellCheck
|
|
uses: redhat-plumbers-in-action/differential-shellcheck@60c9f2b924a9c5a2ddbb25e7b23e8e11b56faab9
|
|
with:
|
|
# exclude all `.in` files because they may contain unsupported syntax, and they have to be preprocessed first
|
|
# TEMPORARY: exclude bash completion files, they would generate too many defects in Code scanning dashboard (600+)
|
|
# exclude zsh completion files, zsh is not supported by ShellCheck
|
|
exclude-path: |
|
|
'**/*.in'
|
|
'shell-completion/bash/*'
|
|
'shell-completion/zsh/*'
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|