Skip to content

Update softprops/action-gh-release action to v2.1.0 #794

Update softprops/action-gh-release action to v2.1.0

Update softprops/action-gh-release action to v2.1.0 #794

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@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- 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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4
with:
name: profile-results
path: opa-profile.log