Skip to content

WIP: Keywords cleanup and presubmit action #7915

WIP: Keywords cleanup and presubmit action

WIP: Keywords cleanup and presubmit action #7915

on:
pull_request:
jobs:
presubmit-readme:
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1
with:
egress-policy: audit
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4
- id: changed
uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c # v45.0.2
with:
files_yaml: |
automated:
- ./images/**
- ./tflib/**
- ./.terraform.lock.hcl
- ./Makefile
- ./main.tf
- ./generated.tf
- ./go.mod
- ./go.sum
- if: steps.changed.outputs.automated_any_modified == 'true'
run: |
echo "You have made changes to files that are managed by automation."
exit 1