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
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Reviewers for Dependabot PRs
build.gradle @sebastian-peter @danielfeismann @staudtMarius

# Reviewers for CI/CD related PRs
.github/workflows/ @sebastian-peter @PhilippSchmelter
6 changes: 0 additions & 6 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ updates:
time: "04:00"
open-pull-requests-limit: 10
target-branch: dev
reviewers:
- t-ober
- staudtMarius
- sebastian-peter
- danielfeismann
- jo-bao

- package-ecosystem: pip
directory: "/docs/readthedocs"
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ jobs:
with:
github-token: "${{ secrets.GITHUB_TOKEN }}"

- name: Check Snapshot
if: contains(steps.metadata.outputs.new-version, 'snap')
run: |
echo "::error::Snapshot versions are not allowed – workflow stopped."
exit 1

- name: Approve the PR
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr review --approve "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GH_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: Enable auto-merge for Dependabot PRs
if: steps.metadata.outputs.update-type == 'version-update:semver-patch'
run: gh pr merge --auto --merge "$PR_URL"
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased/Snapshot]

### Changed
- Updated dependabot workflow and added CODEOWNERS [#1328](https://github.com/ie3-institute/PowerSystemDataModel/issues/1328)

## [7.0.0] - 2025-05-08

### Added
Expand Down