From e3de9f3ede56090e780eb38dbc0c7deef9939c25 Mon Sep 17 00:00:00 2001 From: Britton Hayes Date: Fri, 24 Dec 2021 13:33:27 -0800 Subject: [PATCH] feat: added dependabot auto-merge on test pass --- .github/workflows/merge.yml | 13 +++++++++++++ .github/workflows/test.yml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/merge.yml diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml new file mode 100644 index 0000000..d2be37c --- /dev/null +++ b/.github/workflows/merge.yml @@ -0,0 +1,13 @@ +name: "automerge" +on: + push: + branches: + - main + +jobs: + merge: + runs-on: ubuntu-latest + steps: + - uses: ahmadnassri/action-dependabot-auto-merge@v2 + with: + github-token: ${{ secrets.DEPENDABOT_PUBLIC_TOKEN }} \ No newline at end of file diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32fad15..2ed2871 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,4 +23,4 @@ jobs: with: files: | __tests__/valid.yaml - schemaPath: "__tests__/schema.json" + schemaPath: "__tests__/schema.json" \ No newline at end of file