-
Notifications
You must be signed in to change notification settings - Fork 30
feat: add github actions for macaron #1241
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Demolus13 <[email protected]>
Signed-off-by: Demolus13 <[email protected]>
Signed-off-by: Demolus13 <[email protected]>
…from source. Signed-off-by: Demolus13 <[email protected]>
Signed-off-by: Demolus13 <[email protected]>
1180735 to
ce8d442
Compare
Signed-off-by: Demolus13 <[email protected]>
39ba4f5 to
5f341ab
Compare
…_github_actions.yaml Signed-off-by: Demolus13 <[email protected]>
Signed-off-by: Demolus13 <[email protected]>
| name: Detecting malicious packages | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 |
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.
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:
macaron/.github/workflows/_build.yaml
Line 55 in 8791027
| 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: |
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.
| 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: |
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.
| provenanace_file: | |
| provenance_file: |
Signed-off-by: Demolus13 <[email protected]>
Signed-off-by: Demolus13 <[email protected]>
| output_dir: macaron_output/detect_malicious_package | ||
|
|
||
| - name: Setup Python for analyzed venv | ||
| uses: actions/setup-python@v6 |
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.
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.
behnazh-w
left a comment
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.
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.
Summary
Description of changes
Related issues
Checklist
verifiedlabel should appear next to all of your commits on GitHub.