From afe154a5b6fc5c322ea12b756ae698cf701ba216 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 17 Mar 2021 04:05:58 +0000 Subject: [PATCH 1/3] feat(deps): bump hmarr/auto-approve-action from v2.0.0 to v2.1.0 Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from v2.0.0 to v2.1.0. - [Release notes](https://github.com/hmarr/auto-approve-action/releases) - [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.0.0...5d04a5ca6da9aeb8ca9f31a5239b96fc3e003029) Signed-off-by: dependabot[bot] --- .github/workflows/pr.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index fd5cc76..53c1903 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -65,6 +65,6 @@ jobs: if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' runs-on: ubuntu-latest steps: - - uses: hmarr/auto-approve-action@v2.0.0 + - uses: hmarr/auto-approve-action@v2.1.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}" From 73152fb14cc93cdfc4a0d6fe17480127dbe7eb0a Mon Sep 17 00:00:00 2001 From: Niels Hofmans Date: Wed, 12 May 2021 07:53:51 +0200 Subject: [PATCH 2/3] Update pr.yaml --- .github/workflows/pr.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 53c1903..d5939e5 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -60,11 +60,3 @@ jobs: - name: Scan run: ./trivy --exit-code 1 --no-progress --severity HIGH,CRITICAL,MEDIUM --cache-dir vulndb/ image:${{ steps.vars.outputs.alpine_version }} - approve: - name: Dependabot PR Auto-approve - if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' - runs-on: ubuntu-latest - steps: - - uses: hmarr/auto-approve-action@v2.1.0 - with: - github-token: "${{ secrets.GITHUB_TOKEN }}" From b36bafb659517b9e07c89a896dc60f0ccc84608c Mon Sep 17 00:00:00 2001 From: Niels Hofmans Date: Wed, 12 May 2021 07:54:15 +0200 Subject: [PATCH 3/3] Create approve.yml --- .github/workflows/approve.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/approve.yml diff --git a/.github/workflows/approve.yml b/.github/workflows/approve.yml new file mode 100644 index 0000000..11134d6 --- /dev/null +++ b/.github/workflows/approve.yml @@ -0,0 +1,14 @@ +on: pull_request_target +name: Approver + +jobs: + + approve: + name: Dependabot PR Auto-approve + if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' + runs-on: ubuntu-latest + steps: + - + uses: hmarr/auto-approve-action@v2.1.0 + with: + github-token: "${{ secrets.GITHUB_TOKEN }}"