Skip to content

DEVOPS-1060: [COPILOT Edit]: Add JIRA title trigger to PR workflow#117

Merged
RomFloreani merged 1 commit into
developfrom
DEVOPS-1060-add-jira-title-trigger
May 14, 2026
Merged

DEVOPS-1060: [COPILOT Edit]: Add JIRA title trigger to PR workflow#117
RomFloreani merged 1 commit into
developfrom
DEVOPS-1060-add-jira-title-trigger

Conversation

@RomFloreani
Copy link
Copy Markdown
Contributor

@RomFloreani RomFloreani commented May 14, 2026

DEVOPS-1060 - in github, exception on jira number check for automatic PR Bumping CI-tools
Add conditional to JIRA workflow to only trigger validation on PR title changes when the event is 'edited'.

Part of DEVOPS-1060: add-jira-title-trigger

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

…ed PR titles

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 14, 2026 15:35
@github-actions github-actions Bot changed the title [COPILOT Edit]: Add JIRA title trigger to PR workflow DEVOPS-1060: [COPILOT Edit]: Add JIRA title trigger to PR workflow May 14, 2026
Copy link
Copy Markdown

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 updates the JIRA PR actions GitHub workflow to run on pull_request edit events, but only execute the JIRA validation job when the PR title actually changes—avoiding unnecessary runs for non-title edits.

Changes:

  • Added edited to the pull_request event types.
  • Added a job-level if guard so the reusable JIRA workflow only runs on edited when github.event.changes.title is present.
  • Updated the referenced reusable workflow version.

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

call-workflow-pr_jira_actions:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_actions.yml@v3.3.0
if: github.event.action != 'edited' || github.event.changes.title != null
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_actions.yml@v3
jobs:
call-workflow-pr_jira_actions:
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-jira-pr_actions.yml@v3.3.0
if: github.event.action != 'edited' || github.event.changes.title != null
@RomFloreani RomFloreani merged commit 5a21e5c into develop May 14, 2026
20 checks passed
@RomFloreani RomFloreani deleted the DEVOPS-1060-add-jira-title-trigger branch May 14, 2026 16:28
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