Skip to content

Update step-security/harden-runner action to v2.11.0 #910

Update step-security/harden-runner action to v2.11.0

Update step-security/harden-runner action to v2.11.0 #910

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@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Opa eval --profile
uses: redhat-cop/github-actions/confbatstest@561af5e610560aef3210ca7a08fe73b2add97648 # v4.5
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@4cec3d8aa04e39d1a68397de0c4cd6fb9dce8ec1 # v4
with:
name: profile-results
path: opa-profile.log