New: [AEA-0000] - Tag jira when release is created#93
Merged
anthony-nhs merged 12 commits intomainfrom Mar 18, 2026
Merged
Conversation
Contributor
|
This PR is linked to a ticket in an NHS Digital JIRA Project. Here's a handy link to the ticket: AEA-0000 |
There was a problem hiding this comment.
Pull request overview
Adds optional Jira issue tagging when a semantic-release run creates a release, controlled by workflow inputs/env vars.
Changes:
- Extend
release.config.cjsto optionally run a new localsemantic_release_jiraplugin whenUPDATE_JIRA=true. - Introduce
packages/semantic_release_jiraplugin that discovers a Lambda via CloudFormation export and invokes it with release + ticket data. - Update the reusable release workflow to accept Jira-related inputs and (attempt to) assume an AWS role for the Lambda invocation.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
release.config.cjs |
Adds env-gated inclusion of a local semantic-release plugin for Jira tagging. |
packages/semantic_release_jira/index.js |
New semantic-release success hook that extracts Jira keys from commits and invokes an AWS Lambda. |
package.json |
Adds AWS SDK clients needed by the Jira plugin. |
.github/workflows/tag-release-devcontainer.yml |
Adds inputs/env vars for Jira behavior and an AWS credentials step. |
Comments suppressed due to low confidence (1)
.github/workflows/tag-release-devcontainer.yml:118
- The semantic-release config now references a local plugin (
./packages/semantic_release_jira), but this sparse checkout does not includepackages/semantic_release_jira, so the plugin code won’t be available at runtime and semantic-release will fail to load it. Include the plugin directory in the sparse checkout and ensure it’s copied/available in the working directory where semantic-release runs (or change the config to reference a resolvable module path).
sparse-checkout: |
package.json
package-lock.json
release.config.cjs
releaseNotesTemplates/commit.hbs
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
|
connoravo-nhs
approved these changes
Mar 18, 2026
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.



Summary
Details