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

Consider not running CI on changes to docs (continued) #4848

Closed
wants to merge 1 commit into from

Conversation

jtoar
Copy link
Contributor

@jtoar jtoar commented Mar 21, 2022

Continuation of #4816.

There's unfortunately not a great way to to do this. See this discussion: community/community#13690.

I've looked at a few other repos for inspiration, but it doesn't seem like they use protected branches, so they can merge changes to docs without having to "pass" required checks.

Only Next.js does something similar to this (see https://github.com/vercel/next.js/blob/canary/.github/workflows/build_test_deploy.yml; almost every step has if: ${{needs.build.outputs.docsChange != 'docs only change'}}); it's tedious, but I'm not sure that there's a better way yet.

@jtoar jtoar added the release:chore This PR is a chore (means nothing for users) label Mar 21, 2022
@jtoar jtoar self-assigned this Mar 21, 2022
@netlify
Copy link

netlify bot commented Mar 21, 2022

Deploy Preview for redwoodjs-docs ready!

Name Link
🔨 Latest commit 8ea128a
🔍 Latest deploy log https://app.netlify.com/sites/redwoodjs-docs/deploys/62559fe5d48bce0008ff1ec9
😎 Deploy Preview https://deploy-preview-4848--redwoodjs-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@jtoar jtoar force-pushed the ds-fix-skipping-ci-for-docs branch from eca783e to 8ea128a Compare April 12, 2022 15:50
@jtoar jtoar marked this pull request as ready for review April 12, 2022 15:54
@jtoar jtoar mentioned this pull request Apr 12, 2022
@jtoar
Copy link
Contributor Author

jtoar commented Apr 17, 2022

Closing in favor of #5207.

@jtoar jtoar closed this Apr 17, 2022
@jtoar jtoar deleted the ds-fix-skipping-ci-for-docs branch October 5, 2022 00:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users) topic/ops-&-contributing-dx
Projects
No open projects
Status: Archived
Development

Successfully merging this pull request may close these issues.

2 participants