Create A SubAction private Repo

Does GitHub Actions currently support private repo checkout in such a way that if I run a master yaml file it will call its sub yaml files as routines? or do I need to have individual bash branches off the master to be able to accomplish composite actions?

Currently I get:

Can’t find ‘action.yml’, ‘action.yaml’ or ‘Dockerfile’ under ‘/home/runner/work/noc/noc/.github/workflows/ssh/action.yaml’. Did you forget to run actions/checkout before running your local action?

my main action looks like this:

name: PHP Composer
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    services:
      mysql:
        image: mysql:8.0
        ports:
          - 33306:3306
    steps:
      - uses: actions/checkout@v2 
      - uses: actions/checkout@v2
        with:
          repository: nuenergen/ci
          token: ${{ secrets.GH_TOKEN }}
          path: ./.github/workflows/ssh
      - name: Private Action
        uses: ./.github/workflows/ssh/action.yaml

sub action:

inputs:
  name: "Setup SSH" 
    description: "Deploys the SSH Credentials for cloning repos" 
runs:
  using: "composite" 
  steps: 
    - run: |

      mkdir -p ~/.ssh
      echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' > ~/.ssh/id_rsa
      chmod 700 ~/.ssh/id_rsa
      eval ssh-add ~/.ssh/id_rsa
      shell: bash

But when I try doing this… it bombs on that error message. Thanks in advance.

Can you try to remove /action.yaml? It might make it look for ./.github/workflows/ssh/action.yaml/action.y(a)ml

      - name: Private Action
        uses: ./.github/workflows/ssh