Skip to content

Enable core version publish check, as dry run#9

Merged
MichaelRFairhurst merged 3 commits intomainfrom
michaelrfairhurst/dry-run-version-check-publish-core
Jul 21, 2025
Merged

Enable core version publish check, as dry run#9
MichaelRFairhurst merged 3 commits intomainfrom
michaelrfairhurst/dry-run-version-check-publish-core

Conversation

@MichaelRFairhurst
Copy link
Copy Markdown
Collaborator

No description provided.

This comment was marked as outdated.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Copy Markdown
Contributor

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.

Pull Request Overview

This PR enables a previously commented-out version check for the core qtil package in the GitHub workflow and runs the publish command in dry-run mode. The changes activate the version comparison logic to determine whether publishing is needed based on differences between the published and local versions.

Key Changes:

  • Uncommented and enabled the core qtil version check step
  • Added dry-run flag to the publish command for testing purposes
  • Added conditional execution to setup and publish steps based on version check results

Comment thread .github/workflows/publish.yml
echo "Publishing pack 'qtil'."
codeql pack install "src"
codeql pack publish "src"
codeql pack publish --dry-run "src"
Copy link

Copilot AI Jul 21, 2025

Choose a reason for hiding this comment

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

The --dry-run flag suggests this is for testing purposes. Consider adding a comment or workflow input parameter to control when dry-run mode should be used versus actual publishing.

Suggested change
codeql pack publish --dry-run "src"
if [ "${{ inputs.dry-run }}" == "true" ]; then
codeql pack publish --dry-run "src"
else
codeql pack publish "src"
fi

Copilot uses AI. Check for mistakes.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MichaelRFairhurst MichaelRFairhurst merged commit 9238b5f into main Jul 21, 2025
10 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.

2 participants