-
Notifications
You must be signed in to change notification settings - Fork 2
DEVOPS-825: use token for shared JIRA workflows #106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…nfig file zizmor interprets zizmor.yml as its config file
only if PR target the Mira repo
There was a problem hiding this 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>
DEVOPS-825 - use token for shared JIRA workflows