Skip to content

build(deps-dev): bump postcss from 8.5.15 to 8.5.22 in the npm_and_yarn group across 1 directory #26

build(deps-dev): bump postcss from 8.5.15 to 8.5.22 in the npm_and_yarn group across 1 directory

build(deps-dev): bump postcss from 8.5.15 to 8.5.22 in the npm_and_yarn group across 1 directory #26

name: dependabot-auto-merge
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
pull-requests: write
jobs:
automerge:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- id: meta
uses: dependabot/fetch-metadata@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Policy: solo patch/minor (modifica qui se vuoi includere i major o solo security)
- name: Check policy
run: |
t="${{ steps.meta.outputs.update-type }}"
[ "$t" = "version-update:semver-patch" ] || [ "$t" = "version-update:semver-minor" ] || exit 1
- name: Enable auto-merge
uses: peter-evans/enable-pull-request-automerge@v3
with:
merge-method: squash