From 83ad43a6f71eb1aa25938446b61b3ce2695e1a40 Mon Sep 17 00:00:00 2001 From: "Christopher W. Blake" Date: Tue, 14 Jan 2025 17:54:26 +0000 Subject: [PATCH 1/2] refactor: Update links from migrating repo to skills org --- README.md | 16 ++++++++-------- examples/direct-text.yml | 4 ++-- examples/template-from-other-repo.yml | 10 +++++----- examples/template-from-same-repo.yml | 2 +- 4 files changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index a457e2b..e4a105a 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Action output. As such it can easily be referenced in subsequent steps. steps: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-text: 'Hello {{ login }}, nice to meet you!' template-vars: '{"login": "${{ github.actor }}" }' @@ -53,7 +53,7 @@ steps: steps: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-text: 'Hello {{ login }}, nice to meet you!' template-vars: | @@ -72,7 +72,7 @@ steps: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-file: my-files/my-template.md template-vars: '{ "login": "${{ github.actor }}" }' @@ -89,17 +89,17 @@ steps: - name: Get templates from another repository uses: actions/checkout@v4 with: - repository: chriswblake/feedback-templates - path: feedback-templates + repository: skills/response-templates + path: response-templates - name: Show available templates - run: ls -R feedback-templates + run: ls -R response-templates - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: - template-file: feedback-templates/skill-step-feedback/lesson-finished.md + template-file: response-templates/step-feedback/lesson-finished.md template-vars: '{ "login": "${{ github.actor }}", "repo_full_name": "${{ github.repository }}" diff --git a/examples/direct-text.yml b/examples/direct-text.yml index 91f9256..332079a 100644 --- a/examples/direct-text.yml +++ b/examples/direct-text.yml @@ -13,7 +13,7 @@ jobs: steps: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-text: 'Hello {{ login }}, nice to meet you! Have you met my friend {{ friend }}?' template-vars: '{ @@ -34,7 +34,7 @@ jobs: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-text: 'Hello {{ login }}, nice to meet you! Have you met my friend {{ friend }}?' template-vars: | diff --git a/examples/template-from-other-repo.yml b/examples/template-from-other-repo.yml index 5c44d74..da68aa8 100644 --- a/examples/template-from-other-repo.yml +++ b/examples/template-from-other-repo.yml @@ -14,17 +14,17 @@ jobs: - name: Get templates from another repository uses: actions/checkout@v4 with: - repository: chriswblake/feedback-templates - path: feedback-templates + repository: skills/response-templates + path: response-templates - name: Show available templates - run: ls -R feedback-templates + run: ls -R response-templates - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: - template-file: feedback-templates/skill-step-feedback/lesson-finished.md + template-file: response-templates/step-feedback/lesson-finished.md template-vars: '{ "login": "${{ github.actor }}", "repo_full_name": "${{ github.repository }}" diff --git a/examples/template-from-same-repo.yml b/examples/template-from-same-repo.yml index fc452d1..11b7f17 100644 --- a/examples/template-from-same-repo.yml +++ b/examples/template-from-same-repo.yml @@ -16,7 +16,7 @@ jobs: - name: Build comment using template id: build-comment - uses: chriswblake/action-text-variables@v1 + uses: skills/action-text-variables@v1 with: template-file: examples/hello.md template-vars: '{"login": "${{ github.actor }}" }' From 50f8fdc14c5361c0e99036cea04b6a127bc61f93 Mon Sep 17 00:00:00 2001 From: "Christopher W. Blake" Date: Tue, 14 Jan 2025 20:20:41 +0000 Subject: [PATCH 2/2] fix: Explicitly enable Jest incase host container defaults to disabled. --- .vscode/settings.json | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..791ad76 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "jest.enable": true +}