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

Explore using Dependabot to update submodules #972

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
# Check for submodules updates at 7am UTC
time: "07:00"
labels:
- "submodules"
3 changes: 0 additions & 3 deletions .github/workflows/build-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ jobs:
with:
ruby-version: 3.3.3
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Update Externals
run: |
git submodule update --init --remote
- name: Build and test with Jekyll
run: |
bundle exec jekyll build --verbose --trace --config "_config.yml,_config_prod.yml" --profile
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ jobs:
with:
ruby-version: '3.3.3' # matches Netlify of ruby version
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
- name: Update Externals
run: |
git submodule update --remote
- name: Commit changed files
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[context.production]
# Applies to the staging environment, generated from the `main` branch.
command = "git submodule update --init --remote && npm install && bundle exec jekyll build --profile --trace --config '_config.yml,_config_staging.yml'"
# with debugging: command = "git submodule update --init --remote && bundle exec jekyll build --verbose --trace --config '_config.yml,_config_staging.yml'"
command = "npm install && bundle exec jekyll build --profile --trace --config '_config.yml,_config_staging.yml'"
# with debugging: command = "npm install && bundle exec jekyll build --verbose --trace --config '_config.yml,_config_staging.yml'"

[context.deploy-preview]
# Applies to deploy previews, generated from pull requests.
Expand Down