Skip to content

Commit

Permalink
馃攧 synced file(s) with RakambdaOrg/rakambda-github-files
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Sep 19, 2023
1 parent 4016c6b commit 9d5647c
Showing 1 changed file with 5 additions and 16 deletions.
21 changes: 5 additions & 16 deletions .github/workflows/auto-aprove-sync-files.yml
Expand Up @@ -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 }}

0 comments on commit 9d5647c

Please sign in to comment.