From d1b4433fa48c05e51ca29b14dc1ccb5ccfcc4e7e Mon Sep 17 00:00:00 2001 From: Kevin Papst Date: Wed, 10 Jun 2026 12:56:47 +0200 Subject: [PATCH] improve new workflows --- .github/release-drafter.yml | 9 +++++---- .github/renovate-config.js | 7 ------- .github/workflows/renovate.yaml | 13 +++++++------ 3 files changed, 12 insertions(+), 17 deletions(-) delete mode 100644 .github/renovate-config.js diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml index 6b4794fa..97910219 100644 --- a/.github/release-drafter.yml +++ b/.github/release-drafter.yml @@ -19,17 +19,18 @@ categories: - "technical debt" - "translation" - "release" - - title: "Bug Fixes" + - title: "Bugfixes" + semver-increment: minor when: labels: - "fix" - "bugfix" - "bug" - title: "🚨 Security" + semver-increment: minor when: - label: "security" -version-resolver: - default: minor + labels: + - "security" template: | **Compatible with PHP 8.2 to 8.5** diff --git a/.github/renovate-config.js b/.github/renovate-config.js deleted file mode 100644 index 4d585250..00000000 --- a/.github/renovate-config.js +++ /dev/null @@ -1,7 +0,0 @@ -module.exports = { - branchPrefix: 'renovate/', - username: 'renovate-release', - gitAuthor: 'Renovate Bot ', - onboarding: false, - platform: 'github' -}; \ No newline at end of file diff --git a/.github/workflows/renovate.yaml b/.github/workflows/renovate.yaml index 1c985da5..8e0caa68 100644 --- a/.github/workflows/renovate.yaml +++ b/.github/workflows/renovate.yaml @@ -11,13 +11,14 @@ jobs: renovate: runs-on: ubuntu-latest steps: - - name: Clone Kimai - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - with: - persist-credentials: false - - name: Run Renovate uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14 with: - configurationFile: .github/renovate-config.js token: ${{ secrets.RENOVATE_TOKEN }} + env: + RENOVATE_REPOSITORIES: ${{ github.repository }} + RENOVATE_BRANCH_PREFIX: renovate/ + RENOVATE_GIT_AUTHOR: Renovate Bot + RENOVATE_ONBOARDING: 'false' + RENOVATE_PLATFORM: github + RENOVATE_USERNAME: renovate-release