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

GHA Workflow for validating issues #1547

Merged
merged 3 commits into from
Feb 12, 2024
Merged

Conversation

iangmaia
Copy link
Contributor

@iangmaia iangmaia commented Jan 11, 2024

This PR reimplements our current Issues check done in Peril with a GHA workflow. It uses the reusable workflow implemented on Automattic/dangermattic#31.

How to test

This is a bit hard to test as GHA Issue events are only triggered for workflows already on the main branch, and a complete test can be done only once this PR is merged.

I've tested it with a fork on my account. Feel free to create issues and play around with the labels on my forked project: https://github.com/iangmaia/woocommerce-android/

@iangmaia iangmaia added the tooling Related to anything that supports the building & maintaining of the project. label Jan 11, 2024
@iangmaia iangmaia requested a review from a team January 11, 2024 19:42
@iangmaia iangmaia self-assigned this Jan 11, 2024
@peril-automattic
Copy link

Warnings
⚠️ PR is not assigned to a milestone.

Generated by 🚫 dangerJS

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 11, 2024

You can test the changes in simplenote-ios from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr1547-4e8d551-018d9e9c-b340-4747-aec4-657d883bf751 on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@@ -6,7 +6,7 @@ on:

jobs:
check-labels-on-issues:
uses: Automattic/dangermattic/.github/workflows/reusable-check-labels-on-issues.yml@iangmaia/gha-labels-on-issues-check
uses: Automattic/dangermattic/.github/workflows/reusable-check-labels-on-issues.yml@trunk
Copy link
Contributor

Choose a reason for hiding this comment

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

How do you feel about pinning to a version?

Or... maybe using trunk is cool because it will auto-update?

Then again, auto-updates can backfire if something was to change.

🤔 🤔 🤔

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, it will auto-update for now. My plan is to keep it in trunk until we ship a first stable version of Dangermattic after all the API changes we've been doing, then we can move to a @v1 pinning instead.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, right. I didn't realize Dangermattic wasn't v1 yet. I should have checked...

@iangmaia iangmaia requested a review from mokagio February 6, 2024 11:05
Copy link
Contributor

@mokagio mokagio left a comment

Choose a reason for hiding this comment

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

:shipit:

@iangmaia iangmaia force-pushed the iangmaia/gha-labels-on-issues-check branch from a39f40a to 4e8d551 Compare February 12, 2024 17:09
@iangmaia iangmaia merged commit 7f5ccef into trunk Feb 12, 2024
5 of 7 checks passed
@iangmaia iangmaia deleted the iangmaia/gha-labels-on-issues-check branch February 12, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tooling Related to anything that supports the building & maintaining of the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants