Skip to content

Update Dependabot configuration for GitHub Actions and Maven#6938

Draft
stweil wants to merge 1 commit into
kitodo:mainfrom
stweil:dependabot_config
Draft

Update Dependabot configuration for GitHub Actions and Maven#6938
stweil wants to merge 1 commit into
kitodo:mainfrom
stweil:dependabot_config

Conversation

@stweil
Copy link
Copy Markdown
Member

@stweil stweil commented Mar 20, 2026

Added configuration for GitHub Actions and Maven updates.

Added configuration for GitHub Actions and Maven updates.
@stweil stweil marked this pull request as draft March 20, 2026 14:18
@stweil
Copy link
Copy Markdown
Member Author

stweil commented Mar 20, 2026

@solth, this configuration can help with keeping the dependencies up to date.

As soon as this file is added, Dependabot can be configured to create pull requests for dependency updates (see advanced security settings of the project).

There already exist a lot of such updates for GitHub actions and Maven packages (see https://github.com/stweil/kitodo-production/pulls).

Dependabot can automatically assign labels to the created pull requests. These labels are to be discussed und must match existing or newly created labels.

Comment thread .github/dependabot.yml
Comment on lines +13 to +14
- "dependencies"
- "github-actions"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These labels are optional. Any label can be configured here.

Comment thread .github/dependabot.yml
Comment on lines +23 to +24
- "dependencies"
- "java"
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See comment above.

Comment thread .github/dependabot.yml
- "dependencies"
- "github-actions"

# Keep Maven (Java) dependencies up to date.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If desired, we can remove this part and start with updates for GitHub actions only.

@solth
Copy link
Copy Markdown
Member

solth commented Mar 20, 2026

As soon as this file is added, Dependabot can be configured to create pull requests for dependency updates (see advanced security settings of the project).

@stweil Dependebot integration is already configured in the repository settings and Dependebot has been opening pull requests in this repository since many years, see https://github.com/kitodo/kitodo-production/pulls?q=is%3Apr+is%3Aclosed+author%3Aapp%2Fdependabot
Why is an additional GitHub action required?

@stweil
Copy link
Copy Markdown
Member Author

stweil commented Mar 20, 2026

It's not an additional GitHub action, but a configuration file which is required for the additional Dependabot setting ("Dependabot version updates"). Without it, there won't be automated pull requests for updates of GitHub actions, for example. The current settings only create pull requests for security updates. We are free to decide whether we also want to get pull requests for non-security updates (which might be bug fixes!).

Bildschirmfoto 2026-03-20 um 16 01 19

@stweil
Copy link
Copy Markdown
Member Author

stweil commented Mar 20, 2026

@solth, I'd remove the "draft" status as soon as you are happy with the current labels (dependencies, github-actions and java) and update targets (github-actions and maven).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants