Skip to content
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

Fix witness run readme #7

Merged
merged 5 commits into from
Feb 12, 2024
Merged

Conversation

kairoaraujo
Copy link
Contributor

@kairoaraujo kairoaraujo commented Feb 1, 2024

Fix:

The given example in the README.md has invalid parameters according with action.yml
The use-sigstore and use-archivista are not correct.

Small typo istance -> instance

If the user copy/paste the example will cause an error in their GHA.

Run testifysec/[email protected]
Running command: witness run --archivista-server https://archivista.testifysec.io/ -a environment -a git -a github -s build --trace false --outfile /tmp/build-attestation.json -- /bin/sh -c make build
/home/runner/work/_actions/testifysec/witness-run-action/v0.1/node_modules/@actions/io/lib/io.js:171
                    throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);

Doc

  • Reduce the length of README.md source code to less than 100 collums to easy maintain

  • Highlight the parameters in the text

  • Add a better example of building the software

The given example in the README.md has invalid parameters according with
action.yml

Signed-off-by: Kairo Araujo <[email protected]>
Signed-off-by: Kairo Araujo <[email protected]>
- Reduce the length of README.md source code to less than 100 col to
  easy maintain

- Higlight the parameters in the text

Signed-off-by: Kairo Araujo <[email protected]>
If the user copy/paste the example will cause an error in their GHA.

```
Run testifysec/[email protected]
Running command: witness run --archivista-server https://archivista.testifysec.io -a environment -a git -a github -s build --trace false --outfile /tmp/build-attestation.json -- /bin/sh -c make build
/home/runner/work/_actions/testifysec/witness-run-action/v0.1/node_modules/@actions/io/lib/io.js:171
                    throw new Error(`Unable to locate executable file: ${tool}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);

```

Signed-off-by: Kairo Araujo <[email protected]>
@jkjell jkjell merged commit 2bb760e into testifysec:main Feb 12, 2024
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.

2 participants