diff --git a/.github/workflows/auto-aprove-sync-files.yml b/.github/workflows/auto-aprove-sync-files.yml index 6a5d6aa..96cc903 100644 --- a/.github/workflows/auto-aprove-sync-files.yml +++ b/.github/workflows/auto-aprove-sync-files.yml @@ -4,18 +4,6 @@ on: 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 + uses: RakambdaOrg/rakambda-github-workflows/.github/workflows/approve-sync-files.yml@main + secrets: + sync-token: ${{ secrets.SYNC_TOKEN }}