-
Notifications
You must be signed in to change notification settings - Fork 0
Configure the build #3
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
base: main
Are you sure you want to change the base?
Conversation
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.4 to 1.10.8. - [Release notes](https://github.com/sparklemotion/nokogiri/releases) - [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md) - [Commits](sparklemotion/nokogiri@v1.10.4...v1.10.8) Signed-off-by: dependabot[bot] <[email protected]>
Bumps [rubyzip](https://github.com/rubyzip/rubyzip) from 1.2.3 to 2.2.0. - [Release notes](https://github.com/rubyzip/rubyzip/releases) - [Changelog](https://github.com/rubyzip/rubyzip/blob/master/Changelog.md) - [Commits](rubyzip/rubyzip@v1.2.3...v2.2.0) Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com>
|
Now that you've added some validation tests to your CI build, it's time to turn on branch protection. Protected branches ensure that collaborators cannot make irrevocable changes to specific branches. This also allows you to enable CI required status checks to pass before merging. Why use protected branches?Protected branches allow contributors to create branches and pull requests in your repository, while making sure those changes are throughly vetted before merging. When a repository employs a continuous integration service like CircleCI, branches can be protected based on their build statuses so the review process can be largely automated, giving contributors self-efficacy. Project maintainers also benefit by focusing their attention on gray areas and processes that can't be easily automated.I've changed the protections for the Step 6: Protect the
|
|
Awesome, nice work getting those branch protections in place 🎉 But, right before you enabled your branch protections, something happened. A contributor committed invalid syntax on
Looking at your build status, click on the Details link as shown below: Notice that you get the following error: Liquid Exception: Liquid syntax error (line 1): Unknown tag 'site' in docs/01_getting_ready_for_class.mdJekyll uses Liquid, an open-source templating language. Liquid loads data dynamically and implements conditional logic. Some of the Liquid syntax in one of the files is incorrect. Step 7: Fix the broken buildLet's find the broken syntax and fix the build! ⌨️ Activity: Fix the build in your codebase
I'll respond below with your next step. |
Co-authored-by: github-learning-lab[bot] <37936606+github-learning-lab[bot]@users.noreply.github.com>
|
Nice job finding and fixing that Liquid syntax! It might take a moment, but notice as your build is complete that all checks have passed. Step 8: Merge code with a successful buildNow that your pull request has a successful build, let's merge it! ⌨️ Activity: Merge the pull request
I'll respond below with your next step. |


In this pull request, I've added some tests to help ensure the project builds. This is one example of how you can customize specific validations to run when your CI starts a build. I need you to add a run action to your
.circleci/config.ymlfile.In this example, we'll build the project with
bundle exec jekyll build. Depending on the programming language and project, you might use a different command, likeyarn run androidornvm package. You can find more specific information on CircleCI configuration in their documentation.Step 5: Add validation
Build your site.
⌨️ Activity: Add some automated validation to your project
.circleci/config.ymlfile. You can do this by editing the file from the Files changed tab, or by scrolling down and accepting the suggested change.bundle exec jekyll buildI'll respond below with your next step.