-
Notifications
You must be signed in to change notification settings - Fork 167
Expand file tree
/
Copy pathmacaron-check-github-actions.yml
More file actions
40 lines (35 loc) · 1.18 KB
/
macaron-check-github-actions.yml
File metadata and controls
40 lines (35 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright (c) 2026 - 2026, Oracle and/or its affiliates. All rights reserved.
# Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl/.
# Run Macaron's policies and generate Verification Summary Attestation reports.
# See https://github.com/oracle/macaron
name: Run Macaron to Check Supply Chain Security Issues
on:
pull_request:
paths:
- ".github/workflows/**"
- ".github/actions/**"
push:
branches:
- master
paths:
- ".github/workflows/**"
- ".github/actions/**"
workflow_dispatch:
permissions:
contents: read
jobs:
macaron-check-github-actions:
name: Macaron Policy Verification
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Run Macaron Security Analysis Action
uses: oracle/macaron@b31acfe389133a5587d9639063ec70cb84e7bc47 # v0.23.0
with:
repo_path: ./
policy_file: check-github-actions
policy_purl: pkg:github.com/oracle/oci-java-sdk@.*
reports_retention_days: 90