Tested locally produces image with work-dir as /work #8020
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
on: | |
pull_request: | |
jobs: | |
presubmit-readme: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f # v2.10.2 | |
with: | |
egress-policy: audit | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- id: changed | |
uses: tj-actions/changed-files@bab30c2299617f6615ec02a68b9a40d10bd21366 # v45.0.5 | |
with: | |
files_yaml: | | |
automated: | |
- ./images/** | |
- ./tflib/** | |
- ./.terraform.lock.hcl | |
- ./Makefile | |
- ./main.tf | |
- ./generated.tf | |
- ./go.mod | |
- ./go.sum | |
- ./withdrawn-images.txt | |
- ./withdrawn-repos.txt | |
- ./reinstated-images.txt | |
- if: steps.changed.outputs.automated_any_modified == 'true' | |
run: | | |
echo "You have made changes to files that are managed by automation." | |
exit 1 |