This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
π synced file(s) with Rakambda/rakambda-github-files #29
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto approve sync files | |
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: | |
- uses: actions/[email protected] | |
- name: Pull Request approval | |
uses: hmarr/[email protected] | |
with: | |
github-token: "${{ secrets.SYNC_TOKEN }}" | |
- name: Pull Request merge | |
uses: KeisukeYamashita/[email protected] | |
with: | |
token: "${{ secrets.SYNC_TOKEN }}" | |
strategy: squash | |
intervalSeconds: 60 | |
timeoutSeconds: 3600 |