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

copy attestation #37

Merged
merged 1 commit into from
Jul 11, 2024
Merged

copy attestation #37

merged 1 commit into from
Jul 11, 2024

Conversation

mnbf9rca
Copy link
Owner

@mnbf9rca mnbf9rca commented Jul 11, 2024

Summary by Sourcery

This pull request updates the deploy_build_artifact workflow by adding a step to copy the attestation file to the dist directory before uploading the build artifact.

  • CI:
    • Added a step to copy the attestation file to the dist directory in the deploy_build_artifact workflow.

Copy link

sourcery-ai bot commented Jul 11, 2024

Reviewer's Guide by Sourcery

This pull request adds a step to copy the attestation file to the 'dist' directory in the GitHub Actions workflow for deploying build artifacts. It also simplifies the path configuration for the 'Upload build artifact' step.

File-Level Changes

Files Changes
.github/workflows/deploy_build_artifact.yaml Added a step to copy the attestation file to the 'dist' directory and simplified the path configuration for the 'Upload build artifact' step.

Tips
  • Trigger a new Sourcery review by commenting @sourcery-ai review on the pull request.
  • Continue your discussion with Sourcery by replying directly to review comments.
  • You can change your review settings at any time by accessing your dashboard:
    • Enable or disable the Sourcery-generated pull request summary or reviewer's guide;
    • Change the review language;
  • You can always contact us if you have any questions or feedback.

@mnbf9rca mnbf9rca merged commit 44203e6 into main Jul 11, 2024
3 checks passed
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @mnbf9rca - I've reviewed your changes and found some issues that need to be addressed.

Blocking issues:

  • Syntax error in the copy command (link)
Here's what I looked at during the review
  • 🔴 General issues: 1 blocking issue
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

@@ -69,18 +69,18 @@ jobs:
with:
subject-path: 'dist/*'

- name: copy attestation to dist dir
run: |
cp${{ steps.attest-artifacts.outputs.bundle-path }}n $GITHUB_WORKSPACE/dist/attestation.jsonl
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue (bug_risk): Syntax error in the copy command

There seems to be a missing space between 'cp' and the variable substitution. It should be 'cp ${{ steps.attest-artifacts.outputs.bundle-path }} $GITHUB_WORKSPACE/dist/attestation.jsonl'.

@mnbf9rca mnbf9rca deleted the fix/copy-attestation-to-dist-dir branch July 11, 2024 15:23
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