Skip to content
Merged
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
8 changes: 5 additions & 3 deletions .agents/skills/review-dependabot-pr/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ description:

You get a pull request number. The PR was opened by Dependabot and bumps one or
more npm packages (or GitHub Actions) by a **minor or major** version. Patch
bumps and the `mittwald-api` group are auto-merged by
`.github/workflows/automerge.yml` and never reach you.
bumps, the `mittwald-api` group and minor bumps of development dependencies are
merged by `.github/workflows/review-dependabot-prs.yml` without a review and
never reach you.

Your job, in order:

Expand Down Expand Up @@ -66,7 +67,8 @@ Read the previous version from the PR title or from

If the PR already carries commits other than Dependabot's own and the README
job's (`chore: re-generate README`), read them first and build on that state
instead of starting over.
instead of starting over. The workflow only merges such commits after a
maintainer approved them, so list them in your comment.

### Read the discussion

Expand Down
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ updates:
open-pull-requests-limit: 10
schedule:
interval: "daily"
# Only propose versions that have been public for a while. Compromised
# releases (stolen maintainer tokens, npm worms) usually ship as patch
# versions and get yanked within hours or days; patch bumps are merged
# and released automatically, so they must not arrive the same day.
# Security updates are not affected by the cooldown.
cooldown:
default-days: 7
exclude:
# Our own package, released almost daily; new CLI features often
# depend on the latest version.
- "@mittwald/api-client"
groups:
mittwald-api:
patterns:
Expand Down Expand Up @@ -43,3 +54,7 @@ updates:
directory: "/"
schedule:
interval: "weekly"
# See the npm entry. GitHub Actions does not support the semver-*-days
# options, only default-days.
cooldown:
default-days: 7
32 changes: 0 additions & 32 deletions .github/workflows/automerge.yml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/release-announcement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@ name: Announce release on Discord
# release note to a Discord webhook. Called from release.yml.
on:
workflow_call:
# MITTWALD_AI_API_KEY is a secret of the "ai-agents" environment, which
# cannot be passed in by the caller.
secrets:
MITTWALD_AI_API_KEY:
description:
API key for the mittwald AI hosting (OpenAI-compatible) endpoint.
required: true
DISCORD_WEBHOOK_URL:
description: Discord webhook URL the release note is posted to.
required: true
Expand All @@ -20,6 +18,8 @@ permissions:
jobs:
announce:
runs-on: ubuntu-latest
# Holds MITTWALD_AI_API_KEY; allows master and v* tags.
environment: ai-agents
steps:
- name: Determine release type
id: check
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ jobs:
- release-github
uses: ./.github/workflows/release-announcement.yml
secrets:
MITTWALD_AI_API_KEY: ${{ secrets.MITTWALD_AI_API_KEY }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}

cleanup-artifacts:
Expand Down
Loading
Loading