From 289caf356697864db7696b867625ab432ebe925f Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 23 Feb 2022 19:06:46 +0000 Subject: [PATCH] File sync from s4u/.github - Shared auto approve --- .github/workflows/auto-approve.yml | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index aa653b21..094f3716 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -5,30 +5,4 @@ on: jobs: auto-approve: - runs-on: ubuntu-latest - steps: - - - name: Dependabot metadata - if: github.actor == 'dependabot[bot]' - id: dependabot-metadata - uses: dependabot/fetch-metadata@v1.2.1 - with: - github-token: "${{ secrets.TECH_TOKEN }}" - -# - name: Enable auto-merge for Dependabot PRs -# if: > -# github.actor == 'dependabot[bot]' -# && steps.dependabot-metadata.outputs.update-type != 'version-update:semver-major' -# run: gh pr merge --auto --rebase "$PR_URL" -# env: -# PR_URL: ${{github.event.pull_request.html_url}} -# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }} - -# - name: Approve a PR -# if: > -# github.actor == 'dependabot[bot]' -# || github.actor == 'slawekjaranowski' -# run: gh pr review --approve "$PR_URL" -# env: -# PR_URL: ${{github.event.pull_request.html_url}} -# GITHUB_TOKEN: ${{ secrets.TECH_TOKEN }} + uses: s4u/.github/.github/workflows/auto-approve.yml@master