Skip to content

Commit 43d9641

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

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Copyright (c) 2026 - 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's policies and generate Verification Summary Attestation 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+
pull_request:
16+
paths:
17+
- .github/workflows/**
18+
schedule:
19+
- cron: 20 15 * * 3
20+
workflow_dispatch:
21+
22+
permissions:
23+
contents: read
24+
25+
jobs:
26+
run_macaron:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Check out repository
31+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
32+
with:
33+
fetch-depth: 0
34+
persist-credentials: false
35+
36+
# Check the GitHub Actions workflows in the repository for vulnerabilities.
37+
# Note: policy_purl is adapted for the CD3 Automation Toolkit repository.
38+
- name: Run Macaron action
39+
id: run_macaron
40+
continue-on-error: true
41+
uses: oracle/macaron@4ddb55e3c9ef2c77b548be55c557078c4476fd9c # v0.24.0
42+
with:
43+
repo_path: ./
44+
policy_file: check-github-actions
45+
policy_purl: pkg:github.com/oracle-devrel/cd3-automation-toolkit@.*
46+
reports_retention_days: 3

0 commit comments

Comments
 (0)