From cdbe4406558fa55f55f8d906a861066f94bab971 Mon Sep 17 00:00:00 2001 From: Evan Jacobs Date: Wed, 4 Dec 2024 01:56:20 -0500 Subject: [PATCH] chore: try to have dependabot automatically make a changeset --- .github/workflows/dependabot.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/dependabot.yml diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 00000000..a75b2527 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -0,0 +1,24 @@ +name: Dependabot + +on: + pull_request_target: + types: [opened, synchronize, labeled] + branches: + - 'dependabot/*' + +jobs: + changeset: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + ref: ${{ github.event.pull_request.head.ref }} + - name: Upsert changeset + uses: StafflinePeoplePlus/dependabot-changesets@v0.1.5 + with: + owner: ${{ github.repository_owner }} + repo: markdown-to-jsx + pr-number: ${{ github.event.pull_request.number }} + token: ${{ secrets.GITHUB_TOKEN }}