Skip to content
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

Allow all manifest PRs to run manifest-check workflow #5234

Merged
merged 1 commit into from
Jan 14, 2025

Conversation

gaiksaya
Copy link
Member

Description

This PR removes the conditional check to see if the label is present in the given PR. Adding a label was manual overhead and is often missed. Also if the event is PR synchronize github.event.label.name condition is never met. Example: #5233

Issues Resolved

List any issues this PR will resolve, e.g. Closes [...].

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Sayali Gaikawad <gaiksaya@amazon.com>
@@ -3,15 +3,15 @@ name: manifests-ci-check

on:
pull_request:
types: [labeled, synchronize]
types: [opened, synchronize]
paths:
- 'manifests/**/*.yml'
- '!manifests/templates/**/'
- 'legacy-manifests/**/*.yml'
Copy link
Member

Choose a reason for hiding this comment

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

Maybe we can remove this line? Since it's in legacy-manifest folder, we shouldn't modify any of the existing manifests. We will be only move manifests to the legacy folder right?

Copy link
Member Author

Choose a reason for hiding this comment

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

Right but incase we move files from manifest to legacy, the checks will also test for validations. Example, all tags exists and manifests are valid.

@gaiksaya gaiksaya merged commit 2bccde3 into opensearch-project:main Jan 14, 2025
11 checks passed
@gaiksaya gaiksaya deleted the fix-manifest-workflow branch January 14, 2025 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants