Skip to content

Commit 3461b61

Browse files
committed
OCM-00000 | ci: fix indentation in generate_terraform_docs.yaml
Signed-off-by: Amanda H. L. de Andrade Katz <amanda.katz@redhat.com>
1 parent 9749c6d commit 3461b61

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/generate_terraform_docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ jobs:
4747
BRANCH: ${{ github.head_ref }}
4848
COMMIT_MESSAGE: "OCM-00000 | docs: update terraform-docs after deps bump"
4949
run: |
50-
set -euo pipefail
5150
make terraform-docs
5251
files=()
5352
while IFS= read -r -d '' f; do files+=("$f"); done < <(git ls-files -z -m -o --exclude-standard)
5453
if [ "${#files[@]}" -eq 0 ]; then
5554
echo "No terraform-docs changes to commit."
5655
exit 0
5756
fi
57+
echo "Starting the commit"
5858
bash scripts/github-app-single-commit.sh "${files[@]}"
59-
cat github-app-single-commit.out
59+
cat github-app-single-commit.out

scripts/github-app-single-commit.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
# Usage: GH_TOKEN, REPOSITORY (owner/name), BRANCH, COMMIT_MESSAGE must be set.
77
# Remaining arguments: paths of files to include (repo-relative), readable from CWD.
88

9-
set -euo pipefail
10-
119
log() {
1210
echo "[github-app-single-commit] $*" >> ./github-app-single-commit.out
1311
}

0 commit comments

Comments
 (0)