Skip to content

Commit 4881964

Browse files
committed
Add Macaron analysis workflow
1 parent 976a1fa commit 4881964

1 file changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Copyright (c) 2026, Oracle and/or its affiliates. All rights reserved.
2+
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
3+
4+
# Run Macaron policies and generate supply-chain security analysis reports.
5+
# See https://github.com/oracle/macaron
6+
7+
name: Run Macaron to check supply chain security issues
8+
9+
on:
10+
push:
11+
branches:
12+
- main
13+
paths:
14+
- ".github/workflows/**"
15+
- "Dockerfile"
16+
- "**/*.sh"
17+
pull_request:
18+
paths:
19+
- ".github/workflows/**"
20+
- "Dockerfile"
21+
- "**/*.sh"
22+
schedule:
23+
- cron: "20 15 * * 3"
24+
workflow_dispatch:
25+
26+
permissions:
27+
contents: read
28+
29+
jobs:
30+
run_macaron:
31+
runs-on: ubuntu-latest
32+
33+
steps:
34+
- name: Check out repository
35+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
36+
with:
37+
fetch-depth: 0
38+
persist-credentials: false
39+
40+
# Check the GitHub Actions workflows and shell scripts in the repository for supply-chain issues.
41+
- name: Run Macaron analysis
42+
uses: oracle/macaron@v0.10.0
43+
with:
44+
macaroon-extra-args: >-
45+
analyze
46+
-purl pkg:github/oracle-devrel/cd3-automation-toolkit
47+

0 commit comments

Comments
 (0)