Skip to content

chore(sidecar): sync copies and skills pin from v0.71.1 - #56

Open
noelmcloughlin wants to merge 1 commit into
mainfrom
knowledge-sync
Open

noelmcloughlin wants to merge 1 commit into
mainfrom
knowledge-sync

Conversation

@noelmcloughlin

Copy link
Copy Markdown
Member

Brings the sidecar copies and the skills pin of this repository to Knowledge Trust Ladder v0.71.1, from v0.71.0.

The sync writes the release's copy over these files. The sync job's summary on the run's page names any that held a local edit:

  • .github/PULL_REQUEST_TEMPLATE/knowledge-sync.md
  • .lokf/scripts/knowledge-sync.sh
  • website/scripts/build.sh
  • website/scripts/prepare.sh
  • website/scripts/vendor.sh

The skills pin, ktl in .lokf/pyproject.toml, moves from v0.71.0 to v0.71.1, and .lokf/uv.lock holds the hashes uv resolved for it in this run.

Workflow changes held for a person

This release also changes these workflows. They are not on the branch: a workflow pushed with a token runs on that push, with this repository's secrets, before anyone has read it.

  • .github/workflows/knowledge-sync.yaml
The held diff
diff --git a/.github/workflows/knowledge-sync.yaml b/.github/workflows/knowledge-sync.yaml
index 256bbc4..ad59eb0 100644
--- a/.github/workflows/knowledge-sync.yaml
+++ b/.github/workflows/knowledge-sync.yaml
@@ -116,7 +116,7 @@ jobs:
       branch: ${{ steps.read.outputs.branch }}
     steps:
       - name: Harden the runner
-        uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
+        uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
         with:
           egress-policy: audit
 
@@ -131,7 +131,7 @@ jobs:
         run: if command -v uv >/dev/null 2>&1; then echo "found=true" >> "$GITHUB_OUTPUT"; fi
       - name: Set up uv
         if: steps.uv.outputs.found != 'true'
-        uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
+        uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
         with:
           python-version: "3.12"
           enable-cache: false
@@ -164,7 +164,7 @@ jobs:
       changed: ${{ steps.run.outputs.changed }}
     steps:
       - name: Harden the runner
-        uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
+        uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
         with:
           egress-policy: audit
 
@@ -179,7 +179,7 @@ jobs:
         run: if command -v uv >/dev/null 2>&1; then echo "found=true" >> "$GITHUB_OUTPUT"; fi
       - name: Set up uv
         if: steps.uv.outputs.found != 'true'
-        uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
+        uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
         with:
           python-version: "3.12"
           enable-cache: false
@@ -226,7 +226,7 @@ jobs:
       contents: read # the push and the pull request use the sync token, not this one
     steps:
       - name: Harden the runner
-        uses: step-security/harden-runner@aebdcf6156ab6691adf63218240e476564a1ed4c # v2.23.0
+        uses: step-security/harden-runner@1d88384fd173af6ecb012dfd0264a306b711241a # v2.22.4
         with:
           egress-policy: audit
 
@@ -247,7 +247,7 @@ jobs:
         run: if command -v uv >/dev/null 2>&1; then echo "found=true" >> "$GITHUB_OUTPUT"; fi
       - name: Set up uv
         if: steps.uv.outputs.found != 'true'
-        uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0
+        uses: astral-sh/setup-uv@68559e99cc807c1eb7e9238fd43a15bba460eec2 # v10.3.3
         with:
           python-version: "3.12"
           enable-cache: false

Once you have read them, apply them on this branch. If you merge without them, the workflows stay as they are until the next sync offers them again.

gh run download 46760311610 --repo lmodel/slsa --name knowledge-sync-workflows
git switch knowledge-sync && git pull
git apply workflows.patch && git add .github/workflows
git commit -m "chore(sidecar): sync workflows from v0.71.1" && git push

Without gh, the artifact is on the run's page: https://github.com/lmodel/slsa/actions/runs/46760311610.

This repository's own checks run on this pull request, on the synced copies, with a read-only token. A failure there is a bundle to fix in this pull request, or the gate fails on it after the merge.

CHANGELOG.md has the entry under its Unreleased heading and Changed.

Reviewer checklist

  • The diff changes only the sidecar's copies, the site's copies, the ktl pin and its lock, and CHANGELOG.md.
  • Any workflow changes held above are read and applied on this branch.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant