mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
Merge branch 'v1.78.2-dev' into renovate/microsoft.extensions.dependencymodel-9.x
This commit is contained in:
45
.github/workflows/add_PR_2_chlog.yml
vendored
Normal file
45
.github/workflows/add_PR_2_chlog.yml
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
name: Update Changelog for Renovate PR
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
branches:
|
||||
- v1.78.2-dev
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
dryRun:
|
||||
description: 'Run without committing changes'
|
||||
required: false
|
||||
default: 'true'
|
||||
prTitle:
|
||||
description: 'Simulated PR title'
|
||||
required: false
|
||||
default: 'chore(deps): update dependency X'
|
||||
|
||||
jobs:
|
||||
update-changelog:
|
||||
if: github.actor == 'renovate[bot]' # Only run for Renovate PRs
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Extract PR title
|
||||
id: pr_title
|
||||
run: echo "title=${{ github.event.pull_request.title }}" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Update CHANGELOG.md
|
||||
run: |
|
||||
TITLE="${{ steps.pr_title.outputs.title }}"
|
||||
DATE=$(date +'%Y-%m-%d')
|
||||
sed -i "/## \[Dependency update\]/a\\
|
||||
- ${DATE}: ${TITLE}" CHANGELOG.md
|
||||
|
||||
- name: Commit changelog update
|
||||
run: |
|
||||
git config user.name "github-actions"
|
||||
git config user.email "github-actions@github.com"
|
||||
git add CHANGELOG.md
|
||||
git commit -m "docs: update changelog for Renovate PR"
|
||||
git push
|
||||
@@ -23,8 +23,8 @@
|
||||
<PackageVersion Include="Microsoft.Data.SqlClient" Version="6.1.1" />
|
||||
<PackageVersion Include="Microsoft.Data.SqlClient.SNI" Version="6.0.2" />
|
||||
<PackageVersion Include="Microsoft.Data.SqlClient.SNI.runtime" Version="6.0.2" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.8" />
|
||||
<PackageVersion Include="Microsoft.Extensions.DependencyModel" Version="9.0.9" />
|
||||
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.9" />
|
||||
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="17.14.1" />
|
||||
<PackageVersion Include="Microsoft.NETCore.Platforms" Version="7.0.4" />
|
||||
<PackageVersion Include="Microsoft.NETCore.Targets" Version="5.0.0" />
|
||||
|
||||
Reference in New Issue
Block a user