Skip to content

test new qc#1923

Closed
anthony-nhs wants to merge 1 commit intomainfrom
test_new_qc
Closed

test new qc#1923
anthony-nhs wants to merge 1 commit intomainfrom
test_new_qc

Conversation

@anthony-nhs
Copy link
Copy Markdown
Contributor

Summary

Remove items from this list if they are not relevant. Remove this line once this has been done

  • Routine Change
  • ❗ Breaking Change
  • 🤖 Operational or Infrastructure Change
  • ✨ New Feature
  • ⚠️ Potential issues that might be caused by this change

Details

Add any summary information of what is in the change. Remove this line if you have nothing to add.

Pull Request Naming

Pull requests should be named using the following format:

Tag: [AEA-NNNN] - Short description

Tag can be one of:

  • Fix - for a bug fix. (Patch release)
  • Update - either for a backwards-compatible enhancement or for a rule change that adds reported problems. (Patch release)
  • New - implemented a new feature. (Minor release)
  • Breaking - for a backwards-incompatible enhancement or feature. (Major release)
  • Docs - changes to documentation only. (Patch release)
  • Build - changes to build process only. (No release)
  • Upgrade - for a dependency upgrade. (Patch release)
  • Chore - for refactoring, adding tests, etc. (anything that isn't user-facing). (Patch release)

If the current release is x.y.z then

  • a patch release increases z by 1
  • a minor release increases y by 1
  • a major release increases x by 1

Correct tagging is necessary for our automated versioning and release process.

The description of your pull request will be used as the commit message for the merge, and also be included in the changelog. Please ensure that your title is sufficiently descriptive.

Rerunning Checks

If you need to rename your pull request, you can restart the checks by either:

  • Closing and reopening the pull request
  • pushing an empty commit
    git commit --allow-empty -m 'trigger build'
    git push
  • Amend your last commit and force push to the branch
    git commit --amend --no-edit
    git push --force

Rerunning the checks from within the pull request will not use the updated title.

Copilot AI review requested due to automatic review settings March 20, 2026 12:35
@github-actions
Copy link
Copy Markdown
Contributor

The PR title does not conform to the required format.
Please ensure your PR title is prefixed with a change type (Fix, Update, New, Breaking, Docs, Build, Upgrade, Chore)
and contains a ticket reference (eg. 'Fix: [AEA-####] - ...', or 'Chore: [dependabot] - ...'),
then push an empty commit or recreate your PR.
See the contributing guide for more details:
https://github.com/NHSDigital/eps-common-workflows/blob/main/CONTRIBUTING.md

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

Updates the regression test GitHub Actions workflow to run the external regression test suite from a different ref, switching from a pinned version tag to the common_dev_container branch for non-prod/non-ref environments.

Changes:

  • Update REGRESSION_TEST_REPO_TAG to common_dev_container.
  • Update REGRESSION_TEST_WORKFLOW_TAG to common_dev_container.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +60 to +61
REGRESSION_TEST_REPO_TAG="common_dev_container" # This is the tag or branch of the regression test code to run, usually a version tag like v3.1.0 or a branch name
REGRESSION_TEST_WORKFLOW_TAG="common_dev_container" # This is the tag of the github workflow to run, usually the same as REGRESSION_TEST_REPO_TAG
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

Switching REGRESSION_TEST_*_TAG from a pinned version tag (e.g. v3.9.10) to a moving branch name makes the workflow non-reproducible and introduces supply-chain risk (the fetched script can change without review). Prefer pinning to an immutable ref (release tag or commit SHA), or make this value an explicit workflow input with tight controls/auditability.

Suggested change
REGRESSION_TEST_REPO_TAG="common_dev_container" # This is the tag or branch of the regression test code to run, usually a version tag like v3.1.0 or a branch name
REGRESSION_TEST_WORKFLOW_TAG="common_dev_container" # This is the tag of the github workflow to run, usually the same as REGRESSION_TEST_REPO_TAG
REGRESSION_TEST_REPO_TAG="v3.1.0" # This is the tag of the regression test code to run, pinned to a specific release version
REGRESSION_TEST_WORKFLOW_TAG="v3.1.0" # This is the tag of the github workflow to run, usually the same as REGRESSION_TEST_REPO_TAG

Copilot uses AI. Check for mistakes.
Comment on lines +60 to +61
REGRESSION_TEST_REPO_TAG="common_dev_container" # This is the tag or branch of the regression test code to run, usually a version tag like v3.1.0 or a branch name
REGRESSION_TEST_WORKFLOW_TAG="common_dev_container" # This is the tag of the github workflow to run, usually the same as REGRESSION_TEST_REPO_TAG
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

Both REGRESSION_TEST_REPO_TAG and REGRESSION_TEST_WORKFLOW_TAG are now set to the same value. If they are intended to always match, consider collapsing to a single variable to avoid drift; if they can differ, ensure downstream usage consistently uses the right variable (the branch fetch path currently uses REGRESSION_TEST_REPO_TAG regardless of REGRESSION_TEST_WORKFLOW_TAG).

Copilot uses AI. Check for mistakes.
Comment on lines +60 to +61
REGRESSION_TEST_REPO_TAG="common_dev_container" # This is the tag or branch of the regression test code to run, usually a version tag like v3.1.0 or a branch name
REGRESSION_TEST_WORKFLOW_TAG="common_dev_container" # This is the tag of the github workflow to run, usually the same as REGRESSION_TEST_REPO_TAG
Copy link

Copilot AI Mar 20, 2026

Choose a reason for hiding this comment

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

PR description/title appear to still include the template instructions (e.g., “Remove this line…” and the naming guidance) and the title doesn’t follow the required Tag: [AEA-NNNN] - Short description format. Please update the PR metadata so the merge commit message/changelog are meaningful and automated versioning can tag the release correctly.

Copilot uses AI. Check for mistakes.
@sonarqubecloud
Copy link
Copy Markdown

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