File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
1+ # Copyright (c) 2026 - 2026 , Oracle and/or its affiliates. All rights reserved.
22# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
33
4- # Run Macaron policies and generate supply-chain security analysis reports.
4+ # Run Macaron's policies and generate Verification Summary Attestation reports.
55# See https://github.com/oracle/macaron
66
77name : Run Macaron to check supply chain security issues
1111 branches :
1212 - main
1313 paths :
14- - " .github/workflows/**"
15- - " Dockerfile"
16- - " **/*.sh"
14+ - .github/workflows/**
1715 pull_request :
1816 paths :
19- - " .github/workflows/**"
20- - " Dockerfile"
21- - " **/*.sh"
17+ - .github/workflows/**
2218 schedule :
23- - cron : " 20 15 * * 3"
24- workflow_dispatch :
19+ - cron : 20 15 * * 3
2520
2621permissions :
2722 contents : read
@@ -37,13 +32,12 @@ jobs:
3732 fetch-depth : 0
3833 persist-credentials : false
3934
40- - name : Set up Python
41- uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
35+ # Check the GitHub Actions workflows in the repository for vulnerabilities.
36+ - name : Run Macaron action
37+ id : run_macaron
38+ uses : oracle/macaron@4ddb55e3c9ef2c77b548be55c557078c4476fd9c # v0.24.0
4239 with :
43- python-version : " 3.12"
44-
45- - name : Install Macaron
46- run : python -m pip install --upgrade macaron
47-
48- - name : Run Macaron analysis
49- run : macaron analyze -purl pkg:github/oracle-devrel/cd3-automation-toolkit
40+ repo_path : ./
41+ policy_file : check-github-actions
42+ policy_purl : pkg:github.com/oracle-devrel/cd3-automation-toolkit@.*
43+ reports_retention_days : 3
You can’t perform that action at this time.
0 commit comments