Skip to content

Commit

Permalink
Merge pull request #95 from planetscale/joem/renovate-limit-1-pr
Browse files Browse the repository at this point in the history
renovate: limit to 1 open PR at a time
  • Loading branch information
joemiller authored Jan 6, 2025
2 parents c11e1ce + b3a5ce8 commit b29a8ae
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 7 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/licensing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
8 changes: 8 additions & 0 deletions .github/workflows/test-extensive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/zizmor.yaml
Original file line number Diff line number Diff line change
@@ -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
3 changes: 2 additions & 1 deletion renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"extends": [
"github>planetscale/renovate-config",
"github>planetscale/renovate-config:weeklyBatchMinorPatchDigest"
]
],
"prConcurrentLimit": 1
}

0 comments on commit b29a8ae

Please sign in to comment.