From f8ad118bcf11253f71b6fc8a6434d443d63dc029 Mon Sep 17 00:00:00 2001 From: Derek Garcia Date: Tue, 18 Aug 2026 17:04:32 -1000 Subject: [PATCH 1/4] ci: Add dependabot to update gems and github actions --- .github/dependabot.yml | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b83d820 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,48 @@ +version: 2 +updates: + - package-ecosystem: "bundler" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "09:00" + timezone: "UTC" + open-pull-requests-limit: 10 + groups: + # only minor/patch updates + all: + patterns: + - "*" + update-types: + - "minor" + - "patch" + # Ignore any breaking changes + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-major" + + # CI + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" + day: "monday" + time: "09:00" + timezone: "UTC" + open-pull-requests-limit: 10 + commit-message: + prefix: "ci(deps)" + groups: + # only minor/patch updates + github-actions: + patterns: + - "*" + update-types: + - "minor" + - "patch" + # Ignore any breaking changes + ignore: + - dependency-name: "*" + update-types: + - "version-update:semver-major" \ No newline at end of file From 0b9edb1efa88381d8956ccb8a6db5030cac5cd6c Mon Sep 17 00:00:00 2001 From: Derek Garcia Date: Tue, 18 Aug 2026 17:05:23 -1000 Subject: [PATCH 2/4] ci: Add grype security workflow --- .github/workflows/security.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/security.yml diff --git a/.github/workflows/security.yml b/.github/workflows/security.yml new file mode 100644 index 0000000..fdb4d85 --- /dev/null +++ b/.github/workflows/security.yml @@ -0,0 +1,31 @@ +name: Security + +on: + push: + pull_request: + schedule: + - cron: '0 9 * * 1' + +permissions: + contents: read + security-events: write + +jobs: + scan: + runs-on: ubuntu-24.04 + steps: + - name: Check out repository + uses: actions/checkout@v4 + + - name: Scan using grype + id: scan + uses: anchore/scan-action@v7.4.0 + with: + path: "." + by-cve: true + output-format: sarif + + - name: Upload SARIF report + uses: github/codeql-action/upload-sarif@v4 + with: + sarif_file: ${{ steps.scan.outputs.sarif }} \ No newline at end of file From 45c13c89865467ec0db933466efd72ab995df7bc Mon Sep 17 00:00:00 2001 From: Derek Garcia Date: Tue, 18 Aug 2026 17:21:25 -1000 Subject: [PATCH 3/4] ci: Add build check --- .github/workflows/build.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..499114f --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,27 @@ +name: Build + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + runs-on: ubuntu-24.04 + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Set up Ruby + uses: ruby/setup-ruby@v1 + with: + ruby-version: '3.3' + bundler-cache: true + + # fails on build errors + - name: Build site + run: bundle exec jekyll build --strict_front_matter --future + env: + JEKYLL_ENV: production From 6c395227563a77ef2913ccae6182e5082417e755 Mon Sep 17 00:00:00 2001 From: Derek Garcia Date: Tue, 18 Aug 2026 17:41:28 -1000 Subject: [PATCH 4/4] ci: Add dependabot auto merge --- .github/workflows/automerge.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/automerge.yml diff --git a/.github/workflows/automerge.yml b/.github/workflows/automerge.yml new file mode 100644 index 0000000..c7bbc86 --- /dev/null +++ b/.github/workflows/automerge.yml @@ -0,0 +1,18 @@ +name: Dependabot auto-merge + +on: pull_request_target + +permissions: + contents: write + pull-requests: write + +jobs: + automerge: + runs-on: ubuntu-24.04 + if: github.actor == 'dependabot[bot]' + steps: + - uses: fastify/github-action-merge-dependabot@v3 + with: + github-token: ${{ secrets.GITHUB_TOKEN }} + target: minor + use-github-auto-merge: true \ No newline at end of file