Skip to content

Commit 507b9e0

Browse files
committed
Move scripts to .github/scripts
1 parent 178d44b commit 507b9e0

3 files changed

Lines changed: 2 additions & 2 deletions

File tree

.githooks/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ set -euo pipefail
1313

1414
script_dir=$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")
1515

16-
tf_modules=$("$script_dir/../scripts/collect-modules.sh")
16+
tf_modules=$("$script_dir/../.github/scripts/collect-modules.sh")
1717

1818
function command_exists() {
1919
bin_name=$(basename "$1")

.github/actions/collect-modules/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ runs:
1313
- name: Find modules
1414
id: find-modules
1515
run: |
16-
tf_modules=$(./scripts/collect-modules.sh)
16+
tf_modules=$(./.github/scripts/collect-modules.sh)
1717
echo tf-modules=$(printf '%s\n' "${tf_modules[@]}" | jq -cnR '[inputs]') > $GITHUB_OUTPUT
1818
shell: bash

0 commit comments

Comments
 (0)