From 1156fa3559e1597f16e1fa978ec9d2156397b5ff Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Wed, 23 Feb 2022 17:30:07 +0000 Subject: [PATCH] File sync from s4u/.github - disable auto approve --- .github/workflows/auto-approve.yml | 32 +++++++++++++++--------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/auto-approve.yml b/.github/workflows/auto-approve.yml index d41b07d..aa653b2 100644 --- a/.github/workflows/auto-approve.yml +++ b/.github/workflows/auto-approve.yml @@ -15,20 +15,20 @@ jobs: 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: 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 }} +# - 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 }}