diff --git a/.github/workflows/licensing.yaml b/.github/workflows/licensing.yaml index b3217bf..0ef1b04 100644 --- a/.github/workflows/licensing.yaml +++ b/.github/workflows/licensing.yaml @@ -18,10 +18,5 @@ jobs: with: fetch-depth: 0 persist-credentials: false - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1' - bundler-cache: false - - run: gem install license_finder + - run: sudo gem install license_finder - run: license_finder diff --git a/.github/workflows/test-extensive.yml b/.github/workflows/test-extensive.yml index 4a727f9..2d92938 100644 --- a/.github/workflows/test-extensive.yml +++ b/.github/workflows/test-extensive.yml @@ -4,11 +4,19 @@ on: push: branches: - main + paths: + - go.mod + - go.sum + - '**.go' merge_group: type: - checks_requested pull_request: + paths: + - go.mod + - go.sum + - '**.go' types: - opened - synchronize diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c4e81e9..af00674 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,11 +4,13 @@ on: pull_request: paths-ignore: - 'README.md' + - 'renovate.json5' push: branches: - main paths-ignore: - 'README.md' + - 'renovate.json5' permissions: contents: read diff --git a/.github/workflows/zizmor.yaml b/.github/workflows/zizmor.yaml new file mode 100644 index 0000000..2d5d373 --- /dev/null +++ b/.github/workflows/zizmor.yaml @@ -0,0 +1,36 @@ +name: GitHub Actions Security Analysis with zizmor + +on: + push: + branches: ["main"] + pull_request: + branches: ["**"] + +jobs: + zizmor: + name: zizmor latest via PyPI + runs-on: ubuntu-latest + permissions: + security-events: write + # required for workflows in private repositories + contents: read + actions: read + steps: + - name: Checkout repository + uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 + with: + persist-credentials: false + + - name: Install the latest version of uv + uses: astral-sh/setup-uv@887a942a15af3a7626099df99e897a18d9e5ab3a # v5 + + - name: Run zizmor 🌈 + run: uvx zizmor --format sarif . > results.sarif + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3 + with: + sarif_file: results.sarif + category: zizmor \ No newline at end of file diff --git a/renovate.json5 b/renovate.json5 index d3f354b..0ff7ae5 100644 --- a/renovate.json5 +++ b/renovate.json5 @@ -3,5 +3,6 @@ "extends": [ "github>planetscale/renovate-config", "github>planetscale/renovate-config:weeklyBatchMinorPatchDigest" - ] + ], + "prConcurrentLimit": 1 } \ No newline at end of file