test: allow add_machine/start_machine_troubleshoot to be re-usable #5574
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
# doc: https://github.com/redhat-plumbers-in-action/differential-shellcheck#readme | |
--- | |
name: Differential ShellCheck | |
on: | |
push: | |
branches: [main, rhel-*] | |
pull_request: | |
branches: [main, rhel-*] | |
permissions: | |
contents: read | |
jobs: | |
shellcheck: | |
runs-on: ubuntu-latest | |
permissions: | |
security-events: write | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Differential ShellCheck | |
uses: redhat-plumbers-in-action/differential-shellcheck@v4 | |
with: | |
severity: warning | |
token: ${{ secrets.GITHUB_TOKEN }} |