diff --git a/.github/github-comment.yaml b/.github/github-comment.yaml
index be4d76e..8dda9ab 100644
--- a/.github/github-comment.yaml
+++ b/.github/github-comment.yaml
@@ -2,29 +2,30 @@
exec:
default:
- when: true
- template: |
- {{template "status" .}} {{template "link" .}}
-
- exit code: {{.ExitCode}}
-
- 実行されたコマンド
-
- ```
- $ {{.Command}}
- ```
-
-
-
- Output
-
- ```
- {{.CombinedOutput | AvoidHTMLEscape}}
- ```
-
- StdErrOut
-
- ```
- {{.Stderr | AvoidHTMLEscape}}
- ```
-
-
+ template: Hello
+# template: |
+# {{template "status" .}} {{template "link" .}}
+#
+# exit code: {{.ExitCode}}
+#
+# 実行されたコマンド
+#
+# ```
+# $ {{.Command}}
+# ```
+#
+#
+#
+# Output
+#
+# ```
+# {{.CombinedOutput | AvoidHTMLEscape}}
+# ```
+#
+# StdErrOut
+#
+# ```
+# {{.Stderr | AvoidHTMLEscape}}
+# ```
+#
+#
diff --git a/.github/workflows/keep-latest-submodule.yaml b/.github/workflows/keep-latest-submodule.yaml
index 0c272cd..71c31ce 100644
--- a/.github/workflows/keep-latest-submodule.yaml
+++ b/.github/workflows/keep-latest-submodule.yaml
@@ -54,8 +54,13 @@ jobs:
- name: submodule が古いので PR を作成
if: failure()
run: |
+ TEMP_DIR="$(mktemp)"
+ cp .github/github-comment.yaml "${TEMP_DIR}/"
+ cp scripts/create-pr-for-submodule-updates.sh "${TEMP_DIR}/"
git fetch --all
git switch main
+ cp "${TEMP_DIR}/github-comment.yaml" .github/github-comment.yaml
+ cp "${TEMP_DIR}/create-pr-for-submodule-updates.sh" scripts/create-pr-for-submodule-updates.sh
github-comment exec --config .github/github-comment.yaml -- make git.create-pr-for-submodule-updates
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}