Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,16 @@ jobs:
- name: Run prebuild
run: cd docs && npm run prebuild
- name: Create version snapshot
run: cd docs && npx docusaurus docs:version ${{ github.event.inputs.releaseVersion }}
run: cd docs && npx docusaurus docs:version "${RELEASE_VERSION}"
env:
RELEASE_VERSION: ${{ github.event.inputs.releaseVersion }}
- name: Commit versioned docs
if: ${{ github.event.inputs.dry_run != 'true' }}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add docs/versions.json docs/versioned_docs/ docs/versioned_sidebars/
git commit -m "docs: snapshot version ${{ github.ref_name }}" || echo "No changes to commit"
git commit -m "docs: snapshot version ${REF_NAME}" || echo "No changes to commit"
git push
env:
REF_NAME: ${{ github.ref_name }}
14 changes: 0 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,3 @@ jobs:
- name: Create k8s Kind Cluster
uses: helm/kind-action@ef37e7f390d99f746eb8b610417061a60e82a6cc # v1.14.0
- run: npm run integration-test
zizmor:
runs-on: ubuntu-latest
name: GitHub Actions security lint
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
advanced-security: false
persona: pedantic
min-severity: medium
29 changes: 29 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Zizmor

# Deliberately unfiltered by `paths`. This job audits everything under
# .github/, so gating it on a path list means a change to a workflow can
# skip the lint that guards that very workflow -- which is how two
# high-severity template-injection findings reached main unnoticed.
on:
push:
branches: [master, main]
pull_request:
branches: [master, main]

permissions: {}

jobs:
zizmor:
runs-on: ubuntu-latest
name: GitHub Actions security lint
permissions:
contents: read
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@3dc1ecc9bcb9e94e9b2c709687979e1298497054 # v0.6.2
with:
advanced-security: false
persona: pedantic
min-severity: medium