Skip to content

[StepSecurity] Apply security best practices #69

[StepSecurity] Apply security best practices

[StepSecurity] Apply security best practices #69

name: PR Target Workflow
on:
pull_request_target:
types:
- opened
- synchronize
- reopened
permissions: {}
jobs:
pr-target-check:
permissions:
contents: read # for actions/checkout to fetch code
runs-on: ubuntu-latest
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Wait for 2 minutes
run: sleep 120