From f7ad738e714c145d503a340d0f5383823152c317 Mon Sep 17 00:00:00 2001 From: Franck Terray <49401184+franklychilled@users.noreply.github.com> Date: Mon, 26 Feb 2024 12:58:41 +0000 Subject: [PATCH] add dependabot_automerge.yml (#40) (cherry picked from commit 0cf92fb1c511aaf64cf8450dfcb21c247701f187) --- .github/workflows/dependabot_automerge.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/dependabot_automerge.yml diff --git a/.github/workflows/dependabot_automerge.yml b/.github/workflows/dependabot_automerge.yml new file mode 100644 index 0000000..ca6df0b --- /dev/null +++ b/.github/workflows/dependabot_automerge.yml @@ -0,0 +1,13 @@ +name: Dependabot Workflow +on: + pull_request_target + +jobs: + set-token: + runs-on: ubuntu-latest + if: ${{ github.actor == 'dependabot[bot]' }} + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.pull_request.head.sha }} + token: ${{ secrets.NPM_TOKEN }}