copilot-codespaces-vscode icon indicating copy to clipboard operation
copilot-codespaces-vscode copied to clipboard

[Feature] workflow verification can be smarter

Open luwangshell opened this issue 3 months ago • 1 comments

Summary

Learners need to use the exact same word (including upper/lower case) as the prompt, following the instruction. For example, if the instruction says "Create web server", learners need to type "Create web server" instead of "create web server". Otherwise, the workflow will fail because it looks up the exact word in the source file.

Changes

Suggest to either making the verification smarter or stating clearly / expectation to the learners in the Readme.

Additional context

Example:

# Verify the learner added the file contents.
      - name: Check workflow contents, jobs
        uses: skills/action-check-file@v1
        with:
          file: "comments.js"
          search: "Create web server"

luwangshell avatar Nov 23 '24 15:11 luwangshell