Skip to content

Bump the npm-dependencies group with 1 update #11

Bump the npm-dependencies group with 1 update

Bump the npm-dependencies group with 1 update #11

name: Pull Request Title Modifier
on:
pull_request:
paths-ignore:
- src/**
- static/**
- tailwind.config.*
env:
PREFIX: infra
jobs:
pr-title-modifier:
name: PR Title Modifier
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: 📂 Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: 📝 Modify PR Title
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
current_title=$(gh pr view --json title --jq '.title')
if [[ $current_title != "${{ env.PREFIX }}: "* ]]; then
gh pr edit --title "${{ env.PREFIX }}: $current_title"
fi