Skip to content

Merge pull request #320 from redhat-cop/renovate/styrainc-regal-0.x #705

Merge pull request #320 from redhat-cop/renovate/styrainc-regal-0.x

Merge pull request #320 from redhat-cop/renovate/styrainc-regal-0.x #705

Workflow file for this run

name: Run opa-profile.sh
on: [push, pull_request]
# Declare default permissions as read only.
permissions: read-all
jobs:
opa:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde # v2.9.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Opa eval --profile
uses: redhat-cop/github-actions/confbatstest@1a584131f8a335296e866d1fb0988870ca83aefb # v4.3
with:
tests: _test/opa-profile.sh
policies: '[]' # An empty array is provided as the policies are already cloned via source.
- name: Upload opa-profile.log
uses: actions/upload-artifact@834a144ee995460fba8ed112a2fc961b36a5ec5a # v4
with:
name: profile-results
path: opa-profile.log