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 +} 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 }}" }'