Skip to content

Conversation

@sebhmg
Copy link

@sebhmg sebhmg commented Aug 14, 2025

DEVOPS-825 - use token for shared JIRA workflows

@github-actions github-actions bot changed the title Devops 825 DEVOPS-825: use token instead of basicauth for shared workflow on PR title Aug 14, 2025
@sebhmg sebhmg requested review from Copilot and saicheranb August 14, 2025 04:34

This comment was marked as outdated.

@sebhmg sebhmg requested a review from Copilot August 14, 2025 04:48

This comment was marked as outdated.

@sebhmg sebhmg changed the title DEVOPS-825: use token instead of basicauth for shared workflow on PR title DEVOPS-825: use token for shared JIRA workflows Aug 14, 2025
saicheranb
saicheranb previously approved these changes Aug 15, 2025

This comment was marked as outdated.

saicheranb
saicheranb previously approved these changes Aug 15, 2025
@sebhmg sebhmg marked this pull request as draft August 16, 2025 05:04
@sebhmg sebhmg marked this pull request as ready for review August 16, 2025 05:05
@sebhmg sebhmg requested review from Copilot and saicheranb August 17, 2025 02:18
Copy link

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 adds conditional logic to GitHub workflows to ensure certain workflows only run on specific repositories. The changes ensure JIRA-related workflows run only on MiraGeoscience repositories, while preventing Zizmor security analysis from running on MiraGeoscience repositories (which have their own workflow).

  • Added conditional checks using startsWith(github.repository, 'MiraGeoscience/') to control workflow execution
  • Created a new Zizmor security workflow specifically for MiraGeoscience repositories
  • Added repository-specific conditions to JIRA workflows to prevent execution on upstream repositories

Reviewed Changes

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

File Description
.github/workflows/zizmor-security-upstream.yml Added condition to exclude MiraGeoscience repositories from running this workflow
.github/workflows/zizmor-security-mira.yml New workflow file for Zizmor security analysis on MiraGeoscience repositories only
.github/workflows/pr_add_jira_summary.yml Added condition to run only on MiraGeoscience repositories
.github/workflows/issue_to_jira.yml Added condition to run only on MiraGeoscience repositories

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@sebhmg sebhmg merged commit 2e61ace into MiraGeoscience:develop Aug 18, 2025
5 checks passed
@sebhmg sebhmg deleted the DEVOPS-825 branch August 18, 2025 19:06
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