-
Notifications
You must be signed in to change notification settings - Fork 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
ci: add jekyll build to ci #172
Conversation
|
WalkthroughThe changes in this pull request introduce a new job named Changes
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
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.
Actionable comments posted: 2
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
.github/workflows/ci.yml
(1 hunks)
🧰 Additional context used
🪛 yamllint
.github/workflows/ci.yml
[error] 30-30: trailing spaces
(trailing-spaces)
🔇 Additional comments (2)
.github/workflows/ci.yml (2)
38-42
: Excellent security practice using pinned action version.
Using a specific commit hash for ruby/setup-ruby
action is a security best practice as it prevents supply chain attacks.
44-47
: Verify Jekyll configuration and dependencies.
Let's ensure all necessary Jekyll configuration files are present and properly set up.
✅ Verification successful
Jekyll configuration is properly set up, but Gemfile.lock is missing
The verification shows that:
_config.yml
exists with proper configuration (url, title, description)Gemfile
exists with Jekyll dependency- Only
Gemfile.lock
is missing, which is expected to be generated after runningbundle install
The missing Gemfile.lock
won't affect the build since GitHub Actions will generate it during the workflow execution.
🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash
# Description: Verify Jekyll configuration and dependencies
# Check for required Jekyll files
echo "Checking Jekyll configuration files..."
files_to_check=("_config.yml" "Gemfile" "Gemfile.lock")
missing_files=0
for file in "${files_to_check[@]}"; do
if [ ! -f "$file" ]; then
echo "Missing required file: $file"
missing_files=1
fi
done
# Check Jekyll configuration
if [ -f "_config.yml" ]; then
echo "Validating _config.yml content..."
rg -A 5 "^(url|baseurl|title|description):" "_config.yml" || echo "Basic Jekyll configuration might be incomplete"
fi
# Check Gemfile for Jekyll dependency
if [ -f "Gemfile" ]; then
echo "Checking Jekyll dependency in Gemfile..."
rg "^gem ['\"]jekyll['\"]" "Gemfile" || echo "Jekyll gem might be missing in Gemfile"
fi
Length of output: 1932
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
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.
I can't test it locally:
[Continuous Integration/prettier] ❗ ::error::Input required and not supplied: token
Which token? |
I have no idea. I have adapted the omeka tokens locally - they work |
@koilebeit better? |
Pull request
Proposed changes
Types of changes
Checklist
Summary by CodeRabbit
New Features
Chores