Agent Spawner daemon #54
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
--- | |
name: Lint Python issues | |
"on": | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
python-lint-job: | |
runs-on: ubuntu-latest | |
permissions: | |
# required for all workflows | |
security-events: write | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v3 | |
- id: VCS_Diff_Lint | |
name: VCS Diff Lint | |
uses: fedora-copr/vcs-diff-lint-action@v1 | |
with: | |
linter_tags: pylint | |
install_rpm_packages: python3-copr-common | |
- name: Upload artifact with detected defects in SARIF format | |
uses: actions/upload-artifact@v3 | |
with: | |
name: VCS Diff Lint SARIF | |
path: ${{ steps.VCS_Diff_Lint.outputs.sarif }} | |
if: ${{ always() }} | |
- name: Upload SARIF to GitHub using github/codeql-action/upload-sarif | |
uses: github/codeql-action/upload-sarif@v2 | |
with: | |
sarif_file: ${{ steps.VCS_Diff_Lint.outputs.sarif }} | |
if: ${{ always() }} |