Skip to content
Draft
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
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
# GitHub Actions: version updates, so pinned commit SHAs stay current.
- package-ecosystem: github-actions
directories:
- "/"
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
actions:
update-types: [minor, patch]
patterns: ["*"]
46 changes: 46 additions & 0 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Dependency review

# PR gate: fails when the PR adds a dependency with a known vulnerability of
# high severity or above, or one whose licence is outside the allowlist below.
# Changes to this file need a code owner's review (see CODEOWNERS).
on:
pull_request:

permissions: {}

jobs:
dependency-review:
name: Dependency review
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
pull-requests: write # comment-summary-in-pr
steps:
# Reads the PR's dependency diff through the API; no checkout needed.
- uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1
with:
fail-on-severity: high
fail-on-scopes: runtime, development, unknown
allow-licenses: >-
MIT,
Apache-2.0,
BSD-2-Clause,
BSD-3-Clause,
ISC,
0BSD,
MPL-2.0,
Unlicense,
CC0-1.0,
BlueOak-1.0.0,
BSD-2-Clause-Views,
CC-BY-3.0,
CC-BY-4.0,
MIT-0,
MITNFA,
PostgreSQL,
Python-2.0,
Unicode-3.0,
Zlib,
LicenseRef-scancode-google-patent-license-golang
comment-summary-in-pr: on-failure
33 changes: 33 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Workflow lint

# Lints the GitHub Actions workflows, composite actions and Dependabot config
# with zizmor. Findings go to code scanning and the job passes; a "Require code
# scanning results" ruleset rule for zizmor makes new findings block a PR.
# No path filter on purpose: a required check skipped by a path filter stays
# pending and blocks the merge.
on:
pull_request:
schedule:
- cron: "41 6 * * 1"

permissions: {}

jobs:
zizmor:
name: zizmor
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read # checkout; implicit on public repos
actions: read # SARIF upload on private repos
security-events: write # SARIF upload
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@1b4550e929643b8b26a62303c6bd64814271a4f1 # v0.9.2
with:
version: 1.33.1 # the action defaults to latest; bump deliberately
min-severity: medium
min-confidence: medium
advanced-security: true
3 changes: 3 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
* @0xsequence/zemind-unreal @0xsequence/web3-unity-unreal-sdks

# Workflows, Dependabot and the CI security gates.
/.github/ @0xsequence/zemind-unreal @0xsequence/web3-unity-unreal-sdks @0xsequence/core
Loading