Skip to content
Open
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/build_android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@
build_apk:
name: Build Android APK
runs-on: ubuntu-latest
permissions:
contents: read
defaults:
run:
working-directory: ./Android/src
steps:
- name: Checkout the source code
uses: actions/checkout@v3
- uses: actions/setup-java@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
- uses: actions/setup-java@cf277c60eb25467037889841efdb72551f06f6c3 # v4
with:
distribution: 'temurin'
java-version: '21'
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false
# Create the nested directory structure
- name: Prepare for nested deployment
run: |
mkdir -p staging/skills
# Move all files (except the staging folder itself) into the subdirectory
rsync -rr --exclude='staging' ./skills/ staging/skills/
- name: Setup Pages
uses: actions/configure-pages@v5
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
with:
# Upload entire repository
path: 'staging/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5
27 changes: 27 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: GitHub Actions Security Audit with zizmor

on:
push:
branches: ["main"]
pull_request:
branches: ["*"]

jobs:
zizmor:
name: zizmor latest via uv
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
persist-credentials: false

- name: Install uv
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5

- name: Run zizmor 🌈
run: uvx zizmor .
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,12 @@ The repository is not currently ready for code contributions. We will
make a separate announcement when we are ready for OSS users to make
contributions to it.

## Security Requirements

To maintain a secure development environment, all GitHub Actions workflows and configuration changes are subject to security scanning using [Zizmor](https://github.com/woodruffw/zizmor).

When contributing to workflows, please ensure:
- All external GitHub Actions are pinned to a specific full-length commit SHA.
- `persist-credentials: false` is set for `actions/checkout` unless strictly required.
- Explicit permissions are defined for all jobs (avoid overly broad permissions).
- All workflows pass Zizmor security checks.
Loading