Skip to content

Commit

Permalink
Update auto sync
Browse files Browse the repository at this point in the history
  • Loading branch information
Rakambda committed Nov 8, 2024
1 parent c19bfef commit 722de53
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/approve-sync-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
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", "${{ inputs.runs-on }}"]
steps:
- name: Pull Request approval
- name: Approve Pull Request
uses: hmarr/auto-approve-action@v4.0.0
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: 600
- name: Merge Pull Request
uses: pascalgn/automerge-action@v0.16.4
env:
GITHUB_TOKEN: "${{ secrets.sync-token }}"
PULL_REQUEST: "${{ github.event.number }}"
MERGE_LABELS: sync
MERGE_METHOD: squash
MERGE_ERROR_FAIL: true
MERGE_READY_STATE: "clean,has_hooks,unknown,unstable,blocked"

0 comments on commit 722de53

Please sign in to comment.