diff --git a/.github/workflows/preflight-checker-workflow.yml b/.github/workflows/preflight-checker-workflow.yml new file mode 100644 index 00000000..13b22623 --- /dev/null +++ b/.github/workflows/preflight-checker-workflow.yml @@ -0,0 +1,19 @@ +name: preflight-checkers +on: + pull_request_target: + branches: [ "gfx-kernel.le.0.0" ] + push: + branches: [ "gfx-kernel.le.0.0" ] + workflow_dispatch: + +jobs: + checker: + uses: qualcomm-linux/qli-actions/.github/workflows/multi-checker.yml@main + with: + repolinter: true # default: true + semgrep: true # default: true + copyright-license-detector: true # default: true + pr-check-emails: true # default: true + + secrets: + SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} diff --git a/.github/workflows/qualcomm-linux-organization-repolinter.yml b/.github/workflows/qualcomm-linux-organization-repolinter.yml new file mode 100644 index 00000000..651c3ebc --- /dev/null +++ b/.github/workflows/qualcomm-linux-organization-repolinter.yml @@ -0,0 +1,30 @@ +name: Qualcomm Linux Organization Repolinter + +on: + push: + branches: [ "gfx-kernel.le.0.0" ] + pull_request: + branches: [ "gfx-kernel.le.0.0" ] + +jobs: + repolinter: + runs-on: ubuntu-latest + steps: + - name: Checkout Repo + uses: actions/checkout@v4 + - name: Verify repolinter config file is present + id: check_files + uses: andstor/file-existence-action@v3 + with: + files: "repolint.json" + - name: Run Repolinter with local repolint.json + if: steps.check_files.outputs.files_exists == 'true' + uses: todogroup/repolinter-action@v1 + with: + config_file: "repolint.json" + - name: Run Repolinter with default ruleset + if: steps.check_files.outputs.files_exists == 'false' + uses: todogroup/repolinter-action@v1 + with: + config_url: "https://raw.githubusercontent.com/quic/.github/main/repolint.json" +