From b3a0c17609d3b722fdde6f537cf1f0a929f03da8 Mon Sep 17 00:00:00 2001 From: Matteo Vivona Date: Sat, 23 May 2020 14:50:32 +0200 Subject: [PATCH 1/2] ci(action): add auto approve --- .github/workflows/auto-approve.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/auto-approve.yml diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml new file mode 100644 index 0000000000..ac4916e811 --- /dev/null +++ b/.github/workflows/auto-approve.yml @@ -0,0 +1,13 @@ +name: v + +on: + pull_request + +jobs: + auto-approve: + runs-on: ubuntu-latest + steps: + - uses: hmarr/auto-approve-action@v2.0.0 + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' + with: + github-token: "${{ secrets.GITHUB_TOKEN }}" From b5c68f82ea4e341bc2a31a7cfbea38a510bb2137 Mon Sep 17 00:00:00 2001 From: Matteo Vivona Date: Sat, 23 May 2020 14:54:53 +0200 Subject: [PATCH 2/2] ci(action): fix typo on auto approve --- .github/workflows/auto-approve.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index ac4916e811..d6aa5b8739 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -1,4 +1,4 @@ -name: v +name: Auto approve on: pull_request