improve new workflows
This commit is contained in:
9
.github/release-drafter.yml
vendored
9
.github/release-drafter.yml
vendored
@@ -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**
|
||||
|
||||
|
||||
7
.github/renovate-config.js
vendored
7
.github/renovate-config.js
vendored
@@ -1,7 +0,0 @@
|
||||
module.exports = {
|
||||
branchPrefix: 'renovate/',
|
||||
username: 'renovate-release',
|
||||
gitAuthor: 'Renovate Bot <bot@renovateapp.com>',
|
||||
onboarding: false,
|
||||
platform: 'github'
|
||||
};
|
||||
13
.github/workflows/renovate.yaml
vendored
13
.github/workflows/renovate.yaml
vendored
@@ -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 <bot@renovateapp.com>
|
||||
RENOVATE_ONBOARDING: 'false'
|
||||
RENOVATE_PLATFORM: github
|
||||
RENOVATE_USERNAME: renovate-release
|
||||
|
||||
Reference in New Issue
Block a user