Skip to content

Conversation

@Demolus13
Copy link
Member

Summary

Description of changes

Related issues

Checklist

  • I have reviewed the contribution guide.
  • My PR title and commits follow the Conventional Commits convention.
  • My commits include the "Signed-off-by" line.
  • I have signed my commits following the instructions provided by GitHub. Note that we run GitHub's commit verification tool to check the commit signatures. A green verified label should appear next to all of your commits on GitHub.
  • I have updated the relevant documentation, if applicable.
  • I have tested my changes and verified they work as expected.

@Demolus13 Demolus13 self-assigned this Nov 21, 2025
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Nov 21, 2025
@behnazh-w behnazh-w changed the title refactor: add github action to macaron. feat: add github actions for macaron. Nov 27, 2025
@behnazh-w behnazh-w changed the title feat: add github actions for macaron. feat: add github actions for macaron Nov 27, 2025
@Demolus13 Demolus13 force-pushed the pgovale/github-action branch from 1180735 to ce8d442 Compare November 28, 2025 06:07
@Demolus13 Demolus13 force-pushed the pgovale/github-action branch from 39ba4f5 to 5f341ab Compare November 28, 2025 06:30
name: Detecting malicious packages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Copy link
Member

Choose a reason for hiding this comment

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

Please pin all of the third-party Actions to the hash and add the version string as a comment. See how we do this in the rest of workflows:

uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0

action.yaml Outdated
description: The path to the defaults configuration file.
digest:
description: The digest of the commit we want to checkout in the branch.
provenanace_expectation:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
provenanace_expectation:
provenance_expectation:

action.yaml Outdated
description: The digest of the commit we want to checkout in the branch.
provenanace_expectation:
description: The path to provenance expectation file or directory.
provenanace_file:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
provenanace_file:
provenance_file:

output_dir: macaron_output/detect_malicious_package

- name: Setup Python for analyzed venv
uses: actions/setup-python@v6
Copy link
Member

Choose a reason for hiding this comment

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

Please pin this action to the hash that we use in other parts of Macaron. This comment applies to all the actions used in this workflow, please check.

Copy link
Member

@behnazh-w behnazh-w left a comment

Choose a reason for hiding this comment

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

How about renaming tests/tutorials to tests/tutorial_resources because we also have integration tests for each tutorial tagged with tutorial. We could add a README.md to tests/tutorial_resources to explain this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants