mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 10:25:28 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
39 lines
833 B
YAML
39 lines
833 B
YAML
---
|
|
name: ShellCheck
|
|
on: # yamllint disable-line rule:truthy
|
|
pull_request:
|
|
merge_group:
|
|
branches:
|
|
- main
|
|
types:
|
|
- checks_requested
|
|
push:
|
|
branches:
|
|
- main
|
|
workflow_dispatch:
|
|
env:
|
|
# some scripts source tox-lsr scripts - suppress that check
|
|
SHELLCHECK_OPTS: -e SC1091
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
shellcheck:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Update git
|
|
run: |
|
|
set -euxo pipefail
|
|
sudo apt update
|
|
sudo apt install -y git
|
|
|
|
- name: Checkout repo
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Run ShellCheck
|
|
id: shellcheck_id
|
|
uses: ludeeus/action-shellcheck@master
|
|
|
|
- name: Show file paths scanned
|
|
run: |
|
|
echo Files scanned:
|
|
echo "${{ steps.shellcheck_id.outputs.files }}"
|