Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from mattrglobal/Ki/add-mattrassurance-sync-wor…
Browse files Browse the repository at this point in the history
…kflow

Ki/add mattrassurance sync workflow
  • Loading branch information
kirill-ivanov-mattr authored Feb 15, 2024
2 parents c73df80 + eae9245 commit 215e263
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/github_clone_assurance.yaml
Original file line number Diff line number Diff line change
@@ -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/base45-js'

0 comments on commit 215e263

Please sign in to comment.