Initial action#1
Open
buckett wants to merge 1 commit into
Open
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Introduces an initial composite GitHub Action that wraps @oxctl/lti-auto-configuration, along with documentation and CI metadata validation to support reusable workflows.
Changes:
- Adds a composite
action.ymlthat installs Node, configures a CLI profile, and runs the selected mode while exposing outputs. - Documents inputs/outputs/usage in
README.md, and adds an example workflow. - Adds a CI workflow + script to sanity-check
action.ymlmetadata.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Documents action inputs/outputs, usage example, and behavioral notes. |
| action.yml | Implements the composite action: setup Node, install CLI, write profile config, run CLI and set outputs. |
| .github/workflows/validate-action.yml | Adds CI job to validate action metadata on PRs and pushes to main. |
| .github/workflows/example-update-config.yml | Provides a sample workflow demonstrating how to render config and invoke the action. |
| .github/scripts/validate-action-metadata.js | Adds a lightweight metadata sanity check for action.yml. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+110
to
+112
| export NODE_ENV="default" | ||
| cmd=(npx @oxctl/lti-auto-configuration) | ||
|
|
Comment on lines
+80
to
+81
| mkdir -p "$HOME/.tool-config" | ||
| jq -n \ |
Comment on lines
+118
to
+120
| printf 'export-json<<EOF\n%s\nEOF\n' "$summary_payload" >> "$GITHUB_OUTPUT" | ||
| echo "client-id=$client_id" >> "$GITHUB_OUTPUT" | ||
| echo "external-tool-id=$external_tool_id" >> "$GITHUB_OUTPUT" |
Comment on lines
+123
to
+125
| export_payload="$("${cmd[@]}" "$MODE")" | ||
| printf 'export-json<<EOF\n%s\nEOF\n' "$export_payload" >> "$GITHUB_OUTPUT" | ||
| client_id="$(jq -r '.toolReg.lti.clientId // empty' <<<"$export_payload")" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.