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
14 changes: 11 additions & 3 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@ updates:
- "maven"
assignees:
- "xavidop"
# "include: scope" appends "(deps)" itself, so the prefix is the bare type;
# "chore(deps)" produced "chore(deps)(deps):", which is not a valid
# conventional commit and which Release Please cannot parse.
commit-message:
prefix: "chore(deps)"
prefix: "chore"
include: "scope"
# One pull request for the whole weekly update instead of one per
# dependency, each of which ran every workflow on its own.
# One pull request for the weekly minor and patch updates instead of one
# per dependency, each of which ran every workflow on its own. A major
# update gets its own pull request, so a breaking upgrade cannot hold the
# routine ones back.
groups:
maven-dependencies:
patterns:
- "*"
update-types:
- "minor"
- "patch"

# Enable version updates for GitHub Actions
- package-ecosystem: "github-actions"
Expand Down
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,16 @@ on:
- minor
- major

permissions:
contents: write
packages: write
pull-requests: write
# Each job asks for exactly what it needs.
permissions: {}

jobs:
release:
runs-on: ubuntu-latest
# Release Please pushes the release branch, tags and opens the release PR.
permissions:
contents: write
pull-requests: write
outputs:
release_created: ${{ steps.release.outputs.release_created }}
version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
Expand All @@ -64,6 +66,9 @@ jobs:
needs: release
if: ${{ needs.release.outputs.release_created == 'true' }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down Expand Up @@ -102,6 +107,9 @@ jobs:
publish-snapshot:
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout Repo
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
Expand Down
Loading