Skip to content

Conversation

jmaddington
Copy link
Owner

Renames workflows for consistency and clarity in Github UI
Adds promote-admin script to npm scripts
Adds -f option to promot-admin script.

@jmaddington jmaddington requested a review from Copilot April 11, 2025 19:21
@jmaddington jmaddington self-assigned this Apr 11, 2025
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 51 out of 55 changed files in this pull request and generated 1 comment.

Files not reviewed (4)
  • .devcontainer/Dockerfile: Language not supported
  • .devcontainer/devcontainer.json: Language not supported
  • .github/workflows/jm-sync-with-upstream.yml: Language not supported
  • api/package.json: Language not supported

ref: ${{ github.event.inputs.branch || 'main' }}
# For manual runs: Use ref if provided, otherwise use branch
# For automated runs: Use the triggering ref
ref: ${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.ref || github.event.inputs.branch) || github.ref }}
Copy link
Preview

Copilot AI Apr 11, 2025

Choose a reason for hiding this comment

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

The conditional expression for selecting the git ref may be ambiguous; consider adding explicit parentheses to ensure the intended evaluation order.

Suggested change
ref: ${{ github.event_name == 'workflow_dispatch' && (github.event.inputs.ref || github.event.inputs.branch) || github.ref }}
ref: ${{ (github.event_name == 'workflow_dispatch' && (github.event.inputs.ref || github.event.inputs.branch)) || github.ref }}

Copilot uses AI. Check for mistakes.

@jmaddington
Copy link
Owner Author

The promote-admin script needs to be tested with npm running in docker before we finish the merge

@jmaddington jmaddington merged commit 2f2ad63 into main Apr 16, 2025
14 checks passed
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.

1 participant