Skip to content

Commit 6e25682

Browse files
committed
docs: use hash in action quick usage example
Signed-off-by: Demolus13 <parth.govale@oracle.com>
1 parent 137d9d8 commit 6e25682

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

docs/source/pages/macaron_action.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ When using this action you can reference the action in your workflow. Example:
1717
analyze:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: actions/checkout@v4
20+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121
- name: Run Macaron Security Analysis
2222
uses: oracle/macaron@v0.21.0
2323
with:

src/macaron/resources/policies/datalog/malware-detection.dl.template

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
Policy("check-component", component_id, "Check component artifacts.") :-
44
check_passed(component_id, "mcn_detect_malicious_metadata_1").
55

6-
76
apply_policy_to("check-component", component_id) :-
87
is_component(component_id, purl),
98
match("<PACKAGE_PURL>", purl).

0 commit comments

Comments
 (0)