mirror of
https://github.com/systemd/systemd
synced 2024-10-15 12:34:37 +00:00
89b49c16ef
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9bb56186c3...a5ac7e51b4
)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
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-latest
|
|
|
|
permissions:
|
|
security-events: write
|
|
|
|
steps:
|
|
- name: Repository checkout
|
|
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Differential ShellCheck
|
|
uses: redhat-plumbers-in-action/differential-shellcheck@52bab0caa5249d6acd8bcd5bc7a68e69ac9319f9
|
|
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 }}
|