-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update witness.yml with workingdir input #16
base: reusable-workflow
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was anything actually changed in this file other than whitespace/formatting? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I removed the default value |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,95 +1,94 @@ | ||
name: witness-run | ||
description: "Creates Attestation of CI Process with Witness" | ||
description: 'Creates Attestation of CI Process with Witness' | ||
inputs: | ||
witness-install-dir: | ||
description: "Directory to install witness in. The directory will be created if it does not exist" | ||
description: 'Directory to install witness in. The directory will be created if it does not exist' | ||
required: false | ||
default: "./" | ||
archivista-server: | ||
description: "URL of the Archivista server to store or retrieve attestations" | ||
description: 'URL of the Archivista server to store or retrieve attestations' | ||
required: false | ||
default: "https://archivista.testifysec.io" | ||
default: 'https://archivista.testifysec.io' | ||
attestations: | ||
description: "Attestations to record" | ||
description: 'Attestations to record' | ||
required: false | ||
default: "environment git github" | ||
default: 'environment git github' | ||
attestor-link-export: | ||
description: "Export the attestor link predicate in its own attestation" | ||
description: 'Export the attestor link predicate in its own attestation' | ||
required: false | ||
default: "false" | ||
default: 'false' | ||
attestor-maven-pom-path: | ||
description: "Path to the Maven POM file" | ||
description: 'Path to the Maven POM file' | ||
required: false | ||
attestor-sbom-export: | ||
description: "Export the SBOM predicate in its own attestation" | ||
description: 'Export the SBOM predicate in its own attestation' | ||
required: false | ||
default: "false" | ||
default: 'false' | ||
attestor-slsa-export: | ||
description: "Export the SLSA predicate in its own attestation" | ||
description: 'Export the SLSA predicate in its own attestation' | ||
required: false | ||
default: "false" | ||
default: 'false' | ||
enable-sigstore: | ||
description: 'Use Sigstore for attestation' | ||
required: false | ||
default: "true" | ||
default: 'true' | ||
command: | ||
description: "command to run" | ||
description: 'command to run' | ||
required: true | ||
certificate: | ||
description: "Path to the signing key's certificate" | ||
required: false | ||
enable-archivista: | ||
description: "Use Archivista to store or retrieve attestations" | ||
description: 'Use Archivista to store or retrieve attestations' | ||
required: false | ||
default: "true" | ||
default: 'true' | ||
fulcio: | ||
description: "Fulcio address to sign with" | ||
description: 'Fulcio address to sign with' | ||
required: false | ||
fulcio-oidc-client-id: | ||
description: "OIDC client ID to use for authentication" | ||
description: 'OIDC client ID to use for authentication' | ||
required: false | ||
fulcio-oidc-issuer: | ||
description: "OIDC issuer to use for authentication" | ||
description: 'OIDC issuer to use for authentication' | ||
required: false | ||
fulcio-token: | ||
description: "Raw token to use for authentication" | ||
description: 'Raw token to use for authentication' | ||
required: false | ||
intermediates: | ||
description: "Intermediates that link trust back to a root of trust in the policy" | ||
description: 'Intermediates that link trust back to a root of trust in the policy' | ||
required: false | ||
key: | ||
description: "Path to the signing key" | ||
description: 'Path to the signing key' | ||
required: false | ||
outfile: | ||
description: "File to which to write signed data. Defaults to stdout" | ||
description: 'File to which to write signed data. Defaults to stdout' | ||
required: false | ||
product-exclude-glob: | ||
description: "Pattern to use when recording products. Files that match this pattern will be excluded as subjects on the attestation." | ||
description: 'Pattern to use when recording products. Files that match this pattern will be excluded as subjects on the attestation.' | ||
required: false | ||
product-include-glob: | ||
description: "Pattern to use when recording products. Files that match this pattern will be included as subjects on the attestation." | ||
description: 'Pattern to use when recording products. Files that match this pattern will be included as subjects on the attestation.' | ||
required: false | ||
spiffe-socket: | ||
description: "Path to the SPIFFE Workload API socket" | ||
description: 'Path to the SPIFFE Workload API socket' | ||
required: false | ||
step: | ||
description: "Name of the step being run" | ||
description: 'Name of the step being run' | ||
required: true | ||
timestamp-servers: | ||
description: "Timestamp Authority Servers to use when signing envelope" | ||
description: 'Timestamp Authority Servers to use when signing envelope' | ||
required: false | ||
trace: | ||
description: "Enable tracing for the command" | ||
description: 'Enable tracing for the command' | ||
required: false | ||
default: "false" | ||
default: 'false' | ||
version: | ||
description: "Version of Witness CLI" | ||
description: 'Version of Witness CLI' | ||
required: false | ||
default: "0.6.0" | ||
default: '0.6.0' | ||
workingdir: | ||
description: "Directory from which commands will run" | ||
description: 'Directory from which commands will run' | ||
required: false | ||
|
||
runs: | ||
using: "node20" | ||
main: "dist/index.js" | ||
using: 'node20' | ||
main: 'dist/index.js' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh @jkjell I also had to add
workingdir
here, it was missing here too