Skip to content

Commit 4415244

Browse files
CCM-14029 Move the scripts with the actions and relink the hooks
1 parent b2bc322 commit 4415244

15 files changed

Lines changed: 18 additions & 163 deletions

File tree

.github/actions/check-english-usage/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ runs:
77
shell: bash
88
run: |
99
export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10-
check=branch ./scripts/githooks/check-english-usage.sh
10+
check=branch ${{ github.action_path }}/check-english-usage.sh
File renamed without changes.

.github/actions/check-file-format/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ runs:
77
shell: bash
88
run: |
99
export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10-
check=branch ./scripts/githooks/check-file-format.sh
10+
check=branch ${{ github.action_path }}/check-file-format.sh
File renamed without changes.

.github/actions/check-markdown-format/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ runs:
77
shell: bash
88
run: |
99
export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10-
check=branch ./scripts/githooks/check-markdown-format.sh
10+
check=branch ${{ github.action_path }}/check-markdown-format.sh

scripts/githooks/check-markdown-format.sh renamed to .github/actions/check-markdown-format/check-markdown-format.sh

File renamed without changes.

.github/actions/check-todo-usage/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ runs:
77
shell: bash
88
run: |
99
export BRANCH_NAME=origin/${{ github.event.repository.default_branch }}
10-
check=branch ./scripts/githooks/check-todos.sh
10+
check=branch ${{ github.action_path }}/check-todos.sh
File renamed without changes.

.github/actions/lint-terraform/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ runs:
1515
- name: "Check Terraform format"
1616
shell: bash
1717
run: |
18-
check_only=true scripts/githooks/check-terraform-format.sh
18+
check_only=true ${{ github.action_path }}/check-terraform-format.sh
1919
- name: "Validate Terraform"
2020
shell: bash
2121
run: |
File renamed without changes.

0 commit comments

Comments
 (0)