-
Notifications
You must be signed in to change notification settings - Fork 1
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
Set up GitHub workflows to run basic checks via Danger #6
Conversation
d43813a
to
7ab444b
Compare
(That's the |
If you try this label/unlabel process yourself, you might have to refresh the page after the GitHub Action build has finished to see comment gone. I guess GitHub updates the DOM when a new comment is posted or a check succeeds, but doesn't do it when a comment is removed. |
dc42f52
to
7ab444b
Compare
7ab444b
to
eb8d57e
Compare
# The restrictions on the types of pull_request event that can trigger this | ||
# workflow is intentional. We only want to run these sanity checks when the | ||
# PR is opened or reopened, or its branch receives a push. | ||
types: [opened, reopened, synchronize] |
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.
…logdetail-navigation-title Fixes missing navigation title for a blog on resume
…re/13318-quick_actions_spotlight Quick Actions: Add spotlight for Quick Start tour
eb8d57e
to
15756c9
Compare
This brings our workflows in line with what GitHub does in their examples (https://github.com/actions/starter-workflows): - No explicit name for a job object - The job object key is a verb representing what the job does
Closing, because wordpress-mobile#13423 has been merge upstream. |
This is the first step to implement wordpress-mobile#13366.
This adds a GitHub workflows that run the shared Peril settings to:
This setup uses the Danger GitHub Action. I like it because we don't have to add anything to our repo in order to run Danger, but it comes with a time overhead on CI because the action needs to be fetched and built.
Using the action is fine for now, I think, but we might want to do a performance comparison with a local Danger setup later on. It might be worth takin on the cost of maintaining a local setup if we can get a noticeably faster feedback loop for those opening the PR.
To test this, I'll be adding and removing labels to this PR as well as pushing (and then reverting) commits to trigger the sanity checks. If everything works, Danger will post warnings in those PRs via the GitHub Actions bot account. The bot account is what I got wrong in my previous PRs. I finally figured it thanks to the help of the Danger team.