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"
|
- "technical debt"
|
||||||
- "translation"
|
- "translation"
|
||||||
- "release"
|
- "release"
|
||||||
- title: "Bug Fixes"
|
- title: "Bugfixes"
|
||||||
|
semver-increment: minor
|
||||||
when:
|
when:
|
||||||
labels:
|
labels:
|
||||||
- "fix"
|
- "fix"
|
||||||
- "bugfix"
|
- "bugfix"
|
||||||
- "bug"
|
- "bug"
|
||||||
- title: "🚨 Security"
|
- title: "🚨 Security"
|
||||||
|
semver-increment: minor
|
||||||
when:
|
when:
|
||||||
label: "security"
|
labels:
|
||||||
version-resolver:
|
- "security"
|
||||||
default: minor
|
|
||||||
template: |
|
template: |
|
||||||
**Compatible with PHP 8.2 to 8.5**
|
**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:
|
renovate:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Clone Kimai
|
|
||||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
||||||
with:
|
|
||||||
persist-credentials: false
|
|
||||||
|
|
||||||
- name: Run Renovate
|
- name: Run Renovate
|
||||||
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14
|
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14
|
||||||
with:
|
with:
|
||||||
configurationFile: .github/renovate-config.js
|
|
||||||
token: ${{ secrets.RENOVATE_TOKEN }}
|
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