From 9d5647c375565a6907112a89845857a51282ee77 Mon Sep 17 00:00:00 2001 From: undefined Date: Tue, 19 Sep 2023 20:48:36 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=84=20synced=20file(s)=20with=20Rakamb?= =?UTF-8?q?daOrg/rakambda-github-files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/auto-aprove-sync-files.yml | 21 +++++--------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/.github/workflows/auto-aprove-sync-files.yml b/.github/workflows/auto-aprove-sync-files.yml index 6a5d6aa..c9bb364 100644 --- a/.github/workflows/auto-aprove-sync-files.yml +++ b/.github/workflows/auto-aprove-sync-files.yml @@ -3,19 +3,8 @@ on: pull_request: jobs: - auto-approve-synced-files: - name: Auto approve synced files - if: contains(github.event.pull_request.title, 'Synced file(s)') && github.actor == 'couchoud-t' && github.event.pull_request.base.ref == github.event.repository.default_branch - runs-on: ubuntu-latest - steps: - - name: Pull Request approval - uses: hmarr/auto-approve-action@v3.2.1 - with: - github-token: "${{ secrets.SYNC_TOKEN }}" - - name: Pull Request merge - uses: KeisukeYamashita/auto-pull-request-merge@v1.0.6 - with: - token: "${{ secrets.SYNC_TOKEN }}" - strategy: squash - intervalSeconds: 60 - timeoutSeconds: 3600 + jobs: + auto-approve-synced-files: + uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/approve-sync-files.yml@main + secrets: + sync-token: ${{ secrets.SYNC_TOKEN }}