Skip to content

chore: Bump Microsoft.Extensions.AI.Abstractions from 10.6.0 to 10.7.0 #459

chore: Bump Microsoft.Extensions.AI.Abstractions from 10.6.0 to 10.7.0

chore: Bump Microsoft.Extensions.AI.Abstractions from 10.6.0 to 10.7.0 #459

name: Prefix Dependabot PR Titles
on:
pull_request:
types: [opened, edited, synchronize]
permissions:
pull-requests: write
jobs:
prefix-title:
runs-on: ubuntu-latest
steps:
- name: Prefix PR title if needed
if: ${{ github.actor == 'dependabot[bot]' }}
uses: actions/github-script@v9
with:
script: |
const prefix = "chore: ";
const title = context.payload.pull_request.title;
if (!title.startsWith(prefix)) {
await github.rest.pulls.update({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.payload.pull_request.number,
title: prefix + title
});
}