diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..3a626c3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: github-actions + directory: / + schedule: + interval: monthly diff --git a/.github/workflows/differential-shellcheck.yml b/.github/workflows/differential-shellcheck.yml new file mode 100644 index 0000000..e1966d0 --- /dev/null +++ b/.github/workflows/differential-shellcheck.yml @@ -0,0 +1,27 @@ +name: Differential ShellCheck +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + + permissions: + security-events: write + + steps: + - name: Repository checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Differential ShellCheck + uses: redhat-plumbers-in-action/differential-shellcheck@v5 + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/python-diff-lint.yml b/.github/workflows/python-diff-lint.yml new file mode 100644 index 0000000..5247048 --- /dev/null +++ b/.github/workflows/python-diff-lint.yml @@ -0,0 +1,30 @@ +name: Differential Python Lint + +on: + push: + pull_request: + branches: [ main ] + +permissions: + contents: read + +jobs: + lint: + runs-on: ubuntu-latest + + permissions: + security-events: write + + steps: + - name: Repository checkout + uses: actions/checkout@v4 + + - id: VCS_Diff_Lint + name: VCS Diff Lint + uses: fedora-copr/vcs-diff-lint-action@v1 + + - 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() }}