Install magento using github actions

This github actions will allow you to download magento source code and push it to the github repo directly from action’s machine:

name: m2-install-actions
on: [push]
jobs:
  magento2-install:
    runs-on: ubuntu-latest
    name: 'magento install & push'      
    steps:
    - uses: actions/checkout@v2
    - name: 'install fresh magento and copy to repo'
      uses: MAD-I-T/magento-actions@v3.18
      env:
        COMPOSER_AUTH: ${{secrets.COMPOSER_AUTH}}
      with:
        process: 'create-project'
        magento_version: 2.3.0
#     no_push: 1 //uncomment this to prevent the action from pushing src code to your repo

Full sample here GitHub - seyuf/magento-create-project

Instructions in video