diff --git a/.github/workflows/zizmor.yaml b/.github/workflows/zizmor.yaml new file mode 100644 index 0000000..8341e2c --- /dev/null +++ b/.github/workflows/zizmor.yaml @@ -0,0 +1,27 @@ +name: GitHub Actions Security Analysis with zizmor 🌈 + +on: + push: + branches: ["main"] + pull_request: + branches: ["**"] + +permissions: {} + +jobs: + zizmor: + runs-on: ubuntu-latest + permissions: + security-events: write + steps: + - name: Checkout repository + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + + - name: Run zizmor 🌈 + uses: zizmorcore/zizmor-action@cc914d7f3750a2d13d75c7f184a1060aa0e9d482 # v0.6.4 + with: + # intentionally not scanning the entire repository, + inputs: ./.github/ + advanced-security: true diff --git a/.github/zizmor.yaml b/.github/zizmor.yaml new file mode 100644 index 0000000..b8d3aef --- /dev/null +++ b/.github/zizmor.yaml @@ -0,0 +1,4 @@ + +rules: + secrets-outside-env: + disable: true