From 248c01e7d2b94194fee14a4ba78aa9183b01ae4c Mon Sep 17 00:00:00 2001 From: Kirill Ivanov Date: Fri, 16 Feb 2024 14:03: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..ec1ea10 --- /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/bbs-signatures'