Check for CAP_SYS_ADMIN instead of root #8243
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# 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: | |
runs-on: ubuntu-24.04 | |
permissions: | |
security-events: write | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | |
with: | |
fetch-depth: 0 | |
- name: Differential ShellCheck | |
uses: redhat-plumbers-in-action/differential-shellcheck@dd551ce780d8af741f8cd8bab6982667b906b457 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} |