update attest dep and send IA header

This commit is contained in:
Conor Sloan
2024-08-21 11:11:46 +01:00
parent 7af620c09c
commit 8c9931350a
4 changed files with 32 additions and 10 deletions
+3 -1
View File
@@ -128,7 +128,9 @@ async function generateAttestation(
token: options.token,
sigstore: 'github',
// Always store the attestation using the GitHub Attestations API
skipWrite: false
skipWrite: false,
// Identify the attestation to our API as an Immutable Action
headers: { 'X-GitHub-Publish-Action': subjectName }
})
}