v0.7.0
·
12 commits
to refs/heads/main
since this release
What's Changed
💥 Breaking changes
- refactor!: rewrite
markdown-templates/step-feedback/step-results-table.mdto Nunjucks syntax, remove required top-levelpassedargument (#70)
Important
This version introduced breaking changes in this markdown-templates/step-feedback/step-results-table.md template for Mustache syntax renderers.
If you were using this template with skills/action-text-variables@v2 you will have to update to using next major version skills/action-text-variables@v3 which substituted Mustache for Nunjucks templating RELEASE NOTES
Note
Starting from this release, markdown-templates/step-feedback/step-results-table.md can also be used with GrantBirki/comment action, which also uses Nunjucks templating
Starting from this release, the top level passed argument is not needed. The template determines if all steps passed by checking if all passed keys in results_table items are equal set to true
Example:
- name: Get response templates
uses: actions/checkout@v4
with:
repository: skills/exercise-toolkit
path: exercise-toolkit
ref: v0.7.0
- name: Update comment - step results
uses: GrantBirki/[email protected]
with:
repository: ${{ env.ISSUE_REPOSITORY }}
issue-number: ${{ env.ISSUE_NUMBER }}
comment-id: ${{ steps.find-last-comment.outputs.comment-id }}
edit-mode: replace
file: exercise-toolkit/markdown-templates/step-feedback/step-results-table.md
vars: |
step_number: 2
results_table:
- description: "Checked if README.md file exists"
passed: ${{ steps.check-file-exists.outcome == 'success' }}
- description: "Checked for Installation guide in README.md"
passed: ${{ steps.check-for-keyphrase.outcome == 'success' }}
📋 Markdown Templates
- refactor: move the socials text from finish-exercise workflow to the exercise-finished template (#76)
- fix: move to nunjucks template syntax for issue URL in exercise-started.md (#77)
- refactor: update GitHub Skills link to point to the GitHub Learn URL (#75)
- refactor!: rewrite
markdown-templates/step-feedback/step-results-table.mdto Nunjucks syntax, remove required top-levelpassedargument (#70)
⚙️ Reusable Workflows
- refactor: move the socials text from finish-exercise workflow to the exercise-finished template (#76)
📚 Documentation
- docs: update documentation to mention moving to Nunjucks templating and include usage with GrantBirki/comment (#72)
📦 Dependency updates
- chore(deps): bump skills/action-text-variables from 2 to 3 (#73)