require squad for cloud run services/jobs, and allow alerting based on squad #1133
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2022 Chainguard, Inc. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Action Lint | |
on: | |
pull_request: | |
branches: [ 'main', 'release-*' ] | |
jobs: | |
action-lint: | |
name: Action lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | |
with: | |
egress-policy: audit | |
- name: Check out code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Find yamls | |
id: get_yamls | |
run: | | |
yamls="$(find .github/workflows -name "*.y*ml" | grep -v dependabot. | xargs echo)" | |
echo "files=${yamls}" >> "$GITHUB_OUTPUT" | |
- name: Action lint | |
uses: reviewdog/action-actionlint@7eeec1dd160c2301eb28e1568721837d084558ad # v1.57.0 | |
with: | |
actionlint_flags: ${{ steps.get_yamls.outputs.files }} |