Skip to content
Merged
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
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# @stbenjam owns everything. Enforced once main requires a Code Owner review.
* @stbenjam
20 changes: 20 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: monthly
groups:
actions:
patterns: ["*"] # all action bumps in ONE PR
commit-message:
prefix: ci
open-pull-requests-limit: 5

- package-ecosystem: pip
directory: /
schedule:
interval: monthly
groups:
python:
patterns: ["*"]
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ jobs:
language: [python, javascript]

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
uses: github/codeql-action/init@411c4c9a36b3fca4d674f06b6396b2c6d23522c6 # v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3
uses: github/codeql-action/autobuild@411c4c9a36b3fca4d674f06b6396b2c6d23522c6 # v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
uses: github/codeql-action/analyze@411c4c9a36b3fca4d674f06b6396b2c6d23522c6 # v3
with:
category: /language:${{ matrix.language }}
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,19 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Log in to Container registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v4
uses: docker/login-action@af1e73f918a031802d376d3c8bbc3fe56130a9b0 # v4
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata
id: meta
uses: docker/metadata-action@v6
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
Expand All @@ -44,7 +44,7 @@ jobs:
type=sha

- name: Build and push Docker image
uses: docker/build-push-action@v7
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"

Expand All @@ -35,7 +35,7 @@ jobs:
run: mkdocs build

- name: Upload artifact
uses: actions/upload-pages-artifact@v5
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5
with:
path: site/

Expand All @@ -48,4 +48,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.11"

Expand All @@ -28,7 +28,7 @@ jobs:
run: python -m build

- name: Upload build artifacts
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: dist
path: dist/
Expand All @@ -45,11 +45,11 @@ jobs:

steps:
- name: Download build artifacts
uses: actions/download-artifact@v5
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5
with:
name: dist
path: dist/

- name: Publish to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1

4 changes: 2 additions & 2 deletions .github/workflows/rule-impact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false
fetch-depth: 0

- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.12"

Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/skillsaw-ecosystem-scout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,14 @@ on:
permissions:
contents: read
issues: write
id-token: write

jobs:
scout:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- uses: anthropics/claude-code-action@v1
- uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
with:
prompt: |
Use the skillsaw-ecosystem-scout skill. Follow every step in the skill.
Expand All @@ -27,7 +26,7 @@ jobs:

- name: Upload execution log
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: claude-execution-log-${{ github.run_id }}
path: /home/runner/work/_temp/claude-execution-output.json
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/skillsaw-issue-solver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ permissions:
contents: write
pull-requests: write
issues: write
id-token: write

jobs:
issue-solver:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Get labeled issues with trusted content only
id: activity
Expand Down Expand Up @@ -72,7 +71,7 @@ jobs:
echo "Prepared issues with trusted comments:"
cat /tmp/issues-with-comments.json | jq '[.[] | {number, title, comment_count: (.trusted_comments | length)}]'

- uses: anthropics/claude-code-action@v1
- uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
if: steps.activity.outputs.has_issues == 'true'
with:
prompt: |
Expand All @@ -97,7 +96,7 @@ jobs:

- name: Upload execution log
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: claude-execution-log-${{ github.run_id }}
path: /home/runner/work/_temp/claude-execution-output.json
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/skillsaw-maintenance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@ permissions:
contents: write
pull-requests: write
issues: write
id-token: write

jobs:
maintenance:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- uses: anthropics/claude-code-action@v1
- uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
with:
prompt: |
Use the skillsaw-maintenance skill. Follow every step in the skill.
Expand All @@ -28,7 +27,7 @@ jobs:

- name: Upload execution log
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: claude-execution-log-${{ github.run_id }}
path: /home/runner/work/_temp/claude-execution-output.json
Expand Down
11 changes: 5 additions & 6 deletions .github/workflows/skillsaw-pr-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ permissions:
contents: write
pull-requests: write
issues: write
id-token: write

jobs:
pr-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Restore last run timestamp
uses: actions/cache/restore@v5
uses: actions/cache/restore@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: .last-pr-review-run
key: pr-review-last-run
Expand Down Expand Up @@ -73,7 +72,7 @@ jobs:
echo "New PR comments from collaborators since $SINCE:"
cat /tmp/new-pr-comments.json | jq length

- uses: anthropics/claude-code-action@v1
- uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
if: steps.activity.outputs.has_prs == 'true'
with:
prompt: |
Expand Down Expand Up @@ -107,14 +106,14 @@ jobs:

- name: Cache last run timestamp
if: always()
uses: actions/cache/save@v5
uses: actions/cache/save@caa296126883cff596d87d8935842f9db880ef25 # v5
with:
path: .last-pr-review-run
key: pr-review-last-run-${{ github.run_id }}

- name: Upload execution log
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: claude-execution-log-${{ github.run_id }}
path: /home/runner/work/_temp/claude-execution-output.json
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/skillsaw-review-panel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ permissions:
contents: read
pull-requests: write
issues: write
id-token: write

jobs:
panel-review:
Expand All @@ -24,11 +23,11 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr edit ${{ github.event.pull_request.number }} --remove-label panel-review --repo ${{ github.repository }} || true

- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
fetch-depth: 0

- uses: anthropics/claude-code-action@v1
- uses: anthropics/claude-code-action@558b1d6cab4085c7753fe402c10bef0fbb92ac7a # v1
with:
prompt: |
Use the skillsaw-review-panel skill. Follow every step in the skill.
Expand All @@ -44,7 +43,7 @@ jobs:

- name: Upload execution log
if: always()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: panel-review-log-${{ github.run_id }}
path: /home/runner/work/_temp/claude-execution-output.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-action-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5
with:
persist-credentials: false

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-promptfoo-compat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v5
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

- name: Set up Python
uses: actions/setup-python@v6
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6
with:
python-version: "3.11"

Expand Down
Loading
Loading