diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 755c3415a..319b68648 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -52,3 +52,18 @@ updates: - "chore" - "dependencies" - "gh-actions" + - package-ecosystem: "bundler" + directory: "jekyll" + schedule: + interval: "weekly" + reviewers: + - "Shopify/ruby-dev-exp" + labels: + - "dependencies" + - "ruby" + groups: + minor-and-patch: + update-types: + - "minor" + - "patch" + open-pull-requests-limit: 100 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57b0bc393..1fe5f75cd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,13 @@ name: CI -on: [push, pull_request] +on: + push: + paths-ignore: + - 'jekyll/**' + + pull_request: + paths-ignore: + - 'jekyll/**' jobs: lint_ruby: diff --git a/.github/workflows/verify_docs.yml b/.github/workflows/verify_docs.yml new file mode 100644 index 000000000..8facf08a3 --- /dev/null +++ b/.github/workflows/verify_docs.yml @@ -0,0 +1,29 @@ +name: Verify docs + +on: + push: + paths: + - 'jekyll/**' + - '.github/workflows/publish_docs.yml' + + pull_request: + paths: + - 'jekyll/**' + - '.github/workflows/publish_docs.yml' + +jobs: + build: + runs-on: ubuntu-latest + name: Verify Jekyll website builds + steps: + - uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + bundler-cache: true + working-directory: ./jekyll + + - name: Generate documentation + working-directory: ./jekyll + run: bundle exec jekyll build