add-artifact-attestations-to-workflow SKILL.md skillA
add-artifact-attestations-to-workflow from jim60105/copilot-prompt is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add jim60105/copilot-prompt/add-artifact-attestations-to-workflow@git:20260928.6911cf8Pins git:20260928.6911cf8 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- jim60105/copilot-prompt
- Path
skills/add-artifact-attestations-to-workflow/SKILL.md- Versions recorded
- 5
- Latest version
- git:20260928.6911cf8, committed Sep 28, 2026
- First version recorded
- Feb 15, 2026
- Size
- 3,845 bytes
- Repository stars
- 22
- License
- GFDL-1.3
Add SLSA build-provenance attestations to existing GitHub Actions workflows. Use when the user wants to add artifact attestations, build provenance, or SLSA attestations to Docker container image builds in GitHub Actions CI/CD pipelines.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Add Artifact Attestations to Workflow
Add SLSA build-provenance attestations to existing GitHub Actions workflows for Docker container images.
## Steps
0. Find existing workflow files in `.github/workflows/` that contain `docker/build-push-action` or similar steps. Note that composite actions may be used — read both the composite action and the calling workflow simultaneously.
1. **Enable OIDC & Attestations permissions**
In each workflow's top-level `permissions:` block, grant both the OIDC token and attestations write privileges:
```yaml
permissions:
id-token: write
attestations: write
contents: read # (existing)
packages: write # (existing)
```
2. **Log in to container registries**
Ensure authentication steps exist for each registry you'll attest against. Judge whether there are omissions based on the implemented content, rather than always logging into all registries.
```yaml
- name: Login to GHCR
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Login to Docker Hub
uses: docker/login-action@v3
…Read the whole file at its exact version.
How to install
mdr add jim60105/copilot-prompt/add-artifact-attestations-to-workflow@sha256:6de039f8e835ec2aThe line at the top of this page pins the label git:20260928.6911cf8, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_xc6e2ixbtbhg6tmm)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Feb 15, 2026 and Sep 28, 2026, about one every 56 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260928.6911cf8 latest | 2026-09-28 | 6911cf8 | 3,845 B | A | view · diff |
| git:20260525.d5d181c | 2026-05-25 | d5d181c | 3,814 B | A | view · diff |
| git:20260525.c389ab4 | 2026-05-25 | c389ab4 | 3,781 B | A | view · diff |
| git:20260315.a09b7a8 | 2026-03-15 | a09b7a8 | 3,754 B | A | view · diff |
| git:20260215.43cfed2 | 2026-02-15 | 43cfed2 | 3,831 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (3845 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
jim60105/copilot-prompt · 22 stars · license GFDL-1.3 · pushed 2026-10-16 · branch master
API
GET https://markdownregistry.com/api/v1/artifacts/art_xc6e2ixbtbhg6tmm GET https://markdownregistry.com/api/v1/resolve?ref=jim60105/copilot-prompt/add-artifact-attestations-to-workflow GET https://markdownregistry.com/api/v1/blob/6de039f8e835ec2a4ae654083b75d0f5433f66f8c236d28941b60500c0c0e457
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.