This commit is contained in:
Colbster937
2026-01-29 17:03:00 -06:00
parent e315eeab24
commit f1fe503357
2 changed files with 11 additions and 10 deletions

View File

@@ -1,7 +1,5 @@
name: Dependabot Auto Merge
on: on:
pull_request_target: pull_request:
permissions: permissions:
contents: write contents: write
@@ -9,11 +7,16 @@ permissions:
jobs: jobs:
dependabot: dependabot:
if: github.actor == 'dependabot[bot]'
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.event.pull_request.user.login == 'dependabot[bot]'
steps: steps:
- uses: fastify/github-action-merge-dependabot@v3 - id: metadata
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
with: with:
github-token: ${{ secrets.GITHUB_TOKEN }} github-token: "${{ secrets.GITHUB_TOKEN }}"
merge-method: squash
target: minor - if: steps.metadata.outputs.update-type != 'version-update:semver-major'
run: gh pr merge --auto --squash "$PR_URL"
env:
PR_URL: ${{ github.event.pull_request.html_url }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@@ -1,5 +1,3 @@
name: Build Plugin
on: on:
workflow_dispatch: workflow_dispatch:
push: push: