Skip to content

Bump step-security/harden-runner from 2.13.1 to 2.13.3 #704

Bump step-security/harden-runner from 2.13.1 to 2.13.3

Bump step-security/harden-runner from 2.13.1 to 2.13.3 #704

Workflow file for this run

# Copyright 2022 Chainguard, Inc.
# SPDX-License-Identifier: Apache-2.0
name: Action Lint
on:
pull_request:
branches:
- 'main'
permissions: {}
jobs:
action-lint:
name: Action lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Harden the runner (Audit all outbound calls)
uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
with:
egress-policy: audit
- name: Check out code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: Find yamls
id: get_yamls
run: |
set -x
set -e
mapfile -t yamls < <(find .github/workflows -name "*.y*ml" | grep -v dependabot.)
echo "files=${yamls[*]}" >> "${GITHUB_OUTPUT}"
- name: Action lint
uses: reviewdog/action-actionlint@95395aac8c053577d0bc67eb7b74936c660c6f66 # v1.67.0
with:
actionlint_flags: ${{ steps.get_yamls.outputs.files }}