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
8 changes: 8 additions & 0 deletions .github/workflows/build-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0 # Need full history for change detection
persist-credentials: false

- name: Find configuration files to build
id: find-configs
Expand Down Expand Up @@ -197,6 +198,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand Down Expand Up @@ -268,6 +271,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Python
uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
Expand Down Expand Up @@ -431,11 +436,14 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: 'go.mod'
cache: false

- name: Set up QEMU
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/build-skills.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false

- name: Find skill configurations to build
id: find-configs
Expand Down Expand Up @@ -182,6 +183,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand Down Expand Up @@ -212,6 +215,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Install yq
uses: mikefarah/yq@c14f446382944492701b16c1ddb48bb9dbe683e3 # v4.53.6
Expand Down Expand Up @@ -398,6 +403,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand All @@ -40,6 +42,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand All @@ -60,4 +64,4 @@ jobs:
run: go mod download

- name: Build
run: go build -v ./cmd/dockhand
run: go build -v ./cmd/dockhand
9 changes: 8 additions & 1 deletion .github/workflows/mcp-scan-report.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# This workflow runs in the context of the base repository and has write access
# to post PR comments, even for PRs from forks. It triggers after the main
# build-containers workflow completes and downloads scan result artifacts.
#
# `workflow_run` is required for that base-repo write access; the trade-off it
# flags is a privileged workflow trusting event data from an untrusted run.
# This workflow never checks out or executes the triggering run's code, and
# the only value it takes from it (the PR number, read from an artifact) is
# used solely to target the comment, so a bad value means a comment lands on
# the wrong PR, not privilege escalation.
name: MCP Scan Report

on:
workflow_run:
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["Build MCP Server Containers"]
types: [completed]

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/periodic-security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Find all configuration files
id: find-configs
Expand Down Expand Up @@ -50,6 +52,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Install yq
uses: mikefarah/yq@c14f446382944492701b16c1ddb48bb9dbe683e3 # v4.53.6
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/renovate-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand Down Expand Up @@ -84,6 +86,8 @@ jobs:

- name: Checkout repository
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
Expand All @@ -105,4 +109,4 @@ jobs:
"$GITHUB_REPO" || {
echo "::warning::Dry run failed. This might be due to missing permissions or configuration issues."
exit 0
}
}
9 changes: 8 additions & 1 deletion .github/workflows/skill-scan-report.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Runs in the base repository context so it can comment on PRs from forks.
# Triggered after Build Skill Artifacts completes; downloads scan artifacts
# and upserts a single "Skill Security Scan Results" PR comment.
#
# `workflow_run` is required for that base-repo write access; the trade-off it
# flags is a privileged workflow trusting event data from an untrusted run.
# This workflow never checks out or executes the triggering run's code, and
# the only value it takes from it (the PR number, read from an artifact) is
# used solely to target the comment, so a bad value means a comment lands on
# the wrong PR, not privilege escalation.
name: Skill Scan Report

on:
workflow_run:
workflow_run: # zizmor: ignore[dangerous-triggers]
workflows: ["Build Skill Artifacts"]
types: [completed]

Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/skill-version-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ jobs:
runs-on: ubuntu-latest
# Only apply the auto-fix for the Renovate bot.
if: >
github.actor == 'renovate[bot]' ||
github.actor == 'dependabot[bot]'
github.event.pull_request.user.login == 'renovate[bot]' ||
github.event.pull_request.user.login == 'dependabot[bot]'
# No GITHUB_TOKEN access — the push uses a GitHub App installation token
# (see the "Generate GitHub App token" step below). Going through the App
# is required because commits made with the default GITHUB_TOKEN do not
Expand Down Expand Up @@ -104,6 +104,9 @@ jobs:
# Use the head ref directly so we can push to it.
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ steps.app-token.outputs.token }}
# This job pushes a commit at the end (see "Commit version bumps"
# below), so the checkout credential must stay persisted.
persist-credentials: true

- name: Set up Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
Expand Down
Loading