From 58cc3465e87dc9aa4f836a0ef4edda628f6e7b66 Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Mon, 8 Jul 2024 18:43:13 +0200 Subject: [PATCH] chore: Create repo-sync.yaml --- .github/workflows/repo-sync.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/repo-sync.yaml diff --git a/.github/workflows/repo-sync.yaml b/.github/workflows/repo-sync.yaml new file mode 100644 index 000000000000..bd0ca9a3b6eb --- /dev/null +++ b/.github/workflows/repo-sync.yaml @@ -0,0 +1,21 @@ +# File: .github/workflows/repo-sync.yml + +on: + schedule: + - cron: "*/15 * * * *" + workflow_dispatch: + +jobs: + repo-sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + with: + persist-credentials: false + - name: repo-sync + uses: repo-sync/github-sync@v2 + with: + source_repo: "betagouv/beta.gouv.fr" + source_branch: "master" + destination_branch: "master" + github_token: ${{ secrets.GITHUB_TOKEN }}