diff --git a/.github/workflows/ci-audit.yml b/.github/workflows/ci-audit.yml new file mode 100644 index 0000000000..ae223f6bf3 --- /dev/null +++ b/.github/workflows/ci-audit.yml @@ -0,0 +1,40 @@ +name: ci-audit + +on: + push: + branches: ["master"] + pull_request: + +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +permissions: {} + +jobs: + zizmor: + runs-on: ubuntu-latest + timeout-minutes: 15 + permissions: + security-events: write + contents: read + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + with: + persist-credentials: false + - name: Run zizmor + uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6 + + ci-doctor: + runs-on: ubuntu-latest + timeout-minutes: 15 + permissions: + contents: read + actions: read + steps: + - uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 + with: + persist-credentials: false + - uses: depmedicdev-byte/ci-doctor-action@549380d0aded54ccd20d032c28a3a25c732e31f4 # v1