From 8b84b4169ab8ed085464838e2f7dc7fd91a8bd09 Mon Sep 17 00:00:00 2001 From: zachmann Date: Tue, 19 Dec 2023 09:47:17 +0100 Subject: [PATCH] [ci] codebase sync --- .github/workflows/codebase.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/codebase.yml diff --git a/.github/workflows/codebase.yml b/.github/workflows/codebase.yml new file mode 100644 index 00000000..acd0cd30 --- /dev/null +++ b/.github/workflows/codebase.yml @@ -0,0 +1,20 @@ +name: codebase-sync + +on: + - push + - delete + +jobs: + sync: + runs-on: ubuntu-latest + name: Git Repo Sync + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - uses: wangchucheng/git-repo-sync@v0.1.0 + with: + target-url: https://codebase.helmholtz.cloud/m-team/oidc/oidc-agent.git + target-username: gabriel.zachmann + # You can store token in your project's 'Setting > Secrets' and reference the name here. Such as ${{ secrets.ACCESS_TOKEN }} + target-token: ${{ secrets.CODEBASE_TOKEN }} \ No newline at end of file