Skip to content

Commit db04bd0

Browse files
committed
Add changesets to Dependabot updates
1 parent 649f7fe commit db04bd0

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Enable auto-merge for Dependabot PRs for minor and patch
2+
# Based off of https://docs.github.com/en/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions#enable-auto-merge-on-a-pull-request
3+
name: Create changesets for Dependabot
4+
on: pull_request
5+
6+
permissions:
7+
contents: write
8+
pull-requests: write
9+
10+
jobs:
11+
dependabot:
12+
runs-on: ubuntu-latest
13+
if: github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == 'FortnoxAB/changesets-java'
14+
steps:
15+
- name: Dependabot metadata
16+
id: metadata
17+
uses: dependabot/fetch-metadata@v2
18+
- name: Debug
19+
shell: bash
20+
run: |
21+
echo "${{ toJSON(steps.metadata.outputs) }}"

0 commit comments

Comments
 (0)