Skip to content

Commit f1fe503

Browse files
committed
update
1 parent e315eea commit f1fe503

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

.github/workflows/dependabot.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
name: Dependabot Auto Merge
2-
31
on:
4-
pull_request_target:
2+
pull_request:
53

64
permissions:
75
contents: write
86
pull-requests: write
97

108
jobs:
119
dependabot:
12-
if: github.actor == 'dependabot[bot]'
1310
runs-on: ubuntu-latest
11+
if: github.event.pull_request.user.login == 'dependabot[bot]'
1412
steps:
15-
- uses: fastify/github-action-merge-dependabot@v3
13+
- id: metadata
14+
uses: dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7
1615
with:
17-
github-token: ${{ secrets.GITHUB_TOKEN }}
18-
merge-method: squash
19-
target: minor
16+
github-token: "${{ secrets.GITHUB_TOKEN }}"
17+
18+
- if: steps.metadata.outputs.update-type != 'version-update:semver-major'
19+
run: gh pr merge --auto --squash "$PR_URL"
20+
env:
21+
PR_URL: ${{ github.event.pull_request.html_url }}
22+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/gradle.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: Build Plugin
2-
31
on:
42
workflow_dispatch:
53
push:

0 commit comments

Comments
 (0)