From 19f813d0690618b749793bcd17828a9dc982cb37 Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Fri, 16 Feb 2024 13:55:38 +1300 Subject: [PATCH] chore: add mattrassurance synchronisation github workflow --- .github/workflows/github_clone_assurance.yaml | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/github_clone_assurance.yaml diff --git a/.github/workflows/github_clone_assurance.yaml b/.github/workflows/github_clone_assurance.yaml new file mode 100644 index 0000000..5ec5fc0 --- /dev/null +++ b/.github/workflows/github_clone_assurance.yaml @@ -0,0 +1,23 @@ +name: Mirror repository to mattrassurance org +on: + workflow_dispatch: + push: + branches: + - master + - main + +jobs: + MirrorRepoToMATTRAssurance: + runs-on: [self-hosted, generic] + permissions: + contents: read + steps: + - name: mirror repo + uses: mattrinternal/sre-reusable-action/actions/github-clone-assurance@master + with: + github_repository: ${{ env.GITHUB_REPOSITORY }} + github_ref_name: ${{ env.GITHUB_REF_NAME }} + remote_git_user_name: ${{ secrets.MATTRASSURANCE_GIT_USER_NAME }} + remote_git_user_email: ${{ secrets.MATTRASSURANCE_GIT_USER_EMAIL }} + remote_git_user_pat: ${{ secrets.MATTRASSURANCE_GIT_USER_PAT }} + remote_git_repo: 'mattrassurance/ffi-bbs-signatures'