Skip to content

Initial action#1

Open
buckett wants to merge 1 commit into
masterfrom
initial-action
Open

Initial action#1
buckett wants to merge 1 commit into
masterfrom
initial-action

Conversation

@buckett

@buckett buckett commented Jul 3, 2026

Copy link
Copy Markdown
Member

No description provided.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.yml that 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.yml metadata.

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 thread action.yml
Comment on lines +110 to +112
export NODE_ENV="default"
cmd=(npx @oxctl/lti-auto-configuration)

Comment thread action.yml
Comment on lines +80 to +81
mkdir -p "$HOME/.tool-config"
jq -n \
Comment thread action.yml
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 thread action.yml
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")"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants